Wrox Programmer Forums
|
Visual Studio 2005 For discussing Visual Studio 2005. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 9th, 2007, 07:46 AM
Registered User
 
Join Date: May 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows Data GridView Control

Hai,
    I am sambath Raj.I am new for you.Now i am trying to use windows forms with data GridView Controll.Now i am adding combobox in that data GridView but defaultly New Row Will be added next to the combobox row.How can i prevent or stop to add new rows.Here i gave my code below.Correect that and send me the mail.


   Mail id : [email protected]

My Code

DataGridViewComboBoxColumn cbocustomerorder = new DataGridViewComboBoxColumn();
            cbocustomerorder.HeaderText = "Order";
            cbocustomerorder.Name = "Order Name";
            cbocustomerorder.Items.Add("Welcome");
            this.dataGridView1.Columns.Add(cbocustomerorder);



  With Regards
   Sambath Raj.C





Similar Threads
Thread Thread Starter Forum Replies Last Post
Paging in gridview control VadimZ ASP.NET 2.0 Professional 8 February 17th, 2010 02:12 AM
Data Binding - Editing GridView Row Data desk_star BOOK: Professional ASP.NET 2.0 and Special Edition; ISBN: 978-0-7645-7610-2; ISBN: 978-0-470-04178-9 7 December 30th, 2007 11:07 AM
How to put a button control in a GridView control ryan.webb ASP.NET 2.0 Basics 2 December 28th, 2007 05:26 AM
GridView Control [email protected] Pro Visual Basic 2005 2 March 14th, 2007 10:57 PM
Windows 98 OCX control issues vs Windows XP benoyraj VB How-To 0 May 5th, 2004 08:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.