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
232 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now