Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Windows Workflow
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
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);
__________________
  With Regards
   Sambath Raj.C
Reply With Quote
  #2 (permalink)  
Old November 27th, 2007, 05:25 AM
Registered User
 
Join Date: Aug 2007
Location: Hefei, Anhui, China.
Posts: 9
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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 10: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 09:41 PM
Windows forms eyan C# 1 July 1st, 2004 04:10 PM



All times are GMT -4. The time now is 04:09 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.