suchi Posted August 2, 2008 Posted August 2, 2008 How can I place a comboxbox control and other controls in a column of datagridview control in vb.net ? If we can do so, then how can we access the values of these controls ? Quote
ajeeshklr Posted August 14, 2008 Posted August 14, 2008 Hi, To add combobox control, just use DataGridViewComboBoxColumn. Add one column as DataGridViewComboBoxColumn in to your datagrid view control while adding columns to your control.. Set appropriate properties for the control before adding into columns collection. Refer MSDN documentaion for more information regarding that. To retrieve values, just add code to retrieve values in the DatagridViewCellContentClick event. Then typecast the cell content to DataGridViewComboBoxColumn. Then u can access the properties from the instance you have just created... Cheers...:) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.