Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Windows Workflow Discuss the new Windows Workflow in .NET 3.0 and later.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Windows Workflow 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:43 AM
Registered User
 
Join Date: May 2007
Location: chennai, TamilNAdu, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Windows Forms

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 : sambathrajmca@yahoo.co.in

My Code

DataGridViewComboBoxColumn cbocustomerorder = new DataGridViewComboBoxColumn();
            cbocustomerorder.HeaderText = "Order";
            cbocustomerorder.Name = "Order Name";
            cbocustomerorder.Items.Add("Welcome");
            this.dataGridView1.Columns.Add(cbocustomerorder);
 
Old November 27th, 2007, 06:25 AM
Registered User
 
Join Date: Aug 2007
Location: Hefei, Anhui, China.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to SpadeQ
Default

Quote:
quote:Originally posted by sambathrajmca
 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 : sambathrajmca@yahoo.co.in

My Code

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

-_-|| Does it relate to WF? .....

=================
Always imitated but never exceeded




Similar Threads
Thread Thread Starter Forum Replies Last Post
windows forms lakshmiR .NET Framework 1.x 1 August 31st, 2007 08:32 PM
Help with Windows Forms tycotrix C# 1 January 16th, 2007 11:58 AM
Windows Forms Threading julesmel C# 3 October 5th, 2006 05:21 AM
windows forms chandrasekhar ASP.NET 2.0 Professional 2 February 27th, 2006 10:41 PM
Windows forms eyan C# 1 July 1st, 2004 04:10 PM





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