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
237 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:Murray Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Murray Brown
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:Murray Brown
ID: 37825372
Thanks
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

689 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