4
Answers

how to display combo box in a specified field in a data grid

Administrator

Administrator

22y
2.2k
1
if one of my field in data grid contain a combo box how can i do it.its is have 2ways to do it?set the properties of the data grid and manually program.can i know how to manually code it.thank you for all your replies
Answers (4)
0
spirin_a

spirin_a

NA 2 0 20y
Good example, but it has errors: when I try to add a record in Datagrid and click in Combo, an exception occurred in function Edit - "Input string was not in a correct format". How to fix it?
0
Administrator

Administrator

Tech Writer 2.2k 1.6m 22y
0
Administrator

Administrator

Tech Writer 2.2k 1.6m 22y
Dear mahesh, Good Day. I am looking for the code in ADO.net forum but could not find that. I would like to request you is i possible to add to combo in the datagrid and make them associative to each other. I mean to say when one combo box index changed it changed the other combo as well. Just for an example i have country code in one column and country name in one column. when user choose 1 in one combo it automatically select America to other combo provided that there index is similar. and how can i write back that to DataSet . Thanks . FOr ncyoong it might be helpful for You ncyoong http://www.c-sharpcorner.com/Database/PlayingWithDataGridTA.asp
0
Administrator

Administrator

Tech Writer 2.2k 1.6m 22y
Do some home work. ADO.NET section of this site has articles on this topic.