Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > How to Populate values of dropdown list in a datagrid in C#
 

How to Populate values of dropdown list in a datagrid in C#

I have three dropdown list and a textbox, when i click on the save button, all the selected values in the dropdown list and the value which is entered in the textbox by the user should be displayed in the data grid.
Ravish Verma  Wednesday, July 01, 2009 5:54 AM
hello Ravish,
If your datagrid is binded to dataSource, then add new item in datasource,
otherwice Create new datagridviewRow and add it to datagridview. Refer link.
NareshG  Wednesday, July 01, 2009 6:51 AM

You can use google to search for other answers

Custom Search

More Threads

• If datagridview.Col = 0 Then
• Datagird - Update all the virtual changes to the database once
• Row by row validation by selecting the rows in the DataGrid.
• DataGridView custom header - strange behavior
• Populating Combobox from list of servers in registry
• pros and cons of both Typed and unTyped dataset
• DGV, combobox, ContextmenuStrip, KeyStrokes
• trimming a value in a datagridView
• Checkbox is datagidview not responding
• Drag and Drop in Datagrid reordering rows in C#