How to bind combobox in datagridview from sqlserver

Posted by Nksingh420 under C# on 7/28/2012 | Points: 10 | Views : 9973 | Status : [Member] | Replies : 2
i am trying to fetch data from database and show in combo box inside datagridview in windows application......




Responses

Posted by: Vikash on: 8/14/2012 [Member] Starter | Points: 25

Up
0
Down
Use GridView.FindControl("combo box1") property of the GridView to find the reference of the combo box control
and then populate the combobox with any column value..........

Regards,
Vikash Pathak

Nksingh420, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rimi1289 on: 2/1/2013 [Member] Starter | Points: 25

Up
0
Down
Check the below link. This might help you get a solution. Though this article in written in Vb.Net, it can be translated in C# too.

http://www.encodedna.com/2013/02/show-combobox-datagridview.htm

Regards

Rimi.

Nksingh420, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response