Solved

VB.net is it feasible to try and add different ComboBox items to different rows of a DataGridView

Posted on 2012-04-09
4
234 Views
Last Modified: 2012-04-09
In VB.net is it feasible to try and add different ComboBox items to different rows of a DataGridView
0
Comment
Question by:murbro
  • 2
4 Comments
 
LVL 5

Expert Comment

by:rtay
ID: 37825161
I do not quite understand.  Are you trying to add a comboBox to a datagridview control?  if so that can be done.  You just need to make it a template field.  Let me know if this is what your asking and I will elaborate.
0
 

Author Comment

by:murbro
ID: 37825207
Hi. I was thinking of having several rows where each row has ComboBoxes containing items unique to that row
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37825314
programatically add rows and then in each cell add different combobox control as you like, here is how to add rows to gridview programatically:-

http://devpinoy.org/blogs/keithrull/archive/2008/07/28/how-to-create-dynamic-input-rows-in-a-gridview-with-asp-net.aspx
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowdatabound.aspx
0
 

Author Closing Comment

by:murbro
ID: 37825372
Thanks
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question