Datagridview
how to save a datagrid contents to database..i have two buttons one to add rows dynamically(a textbox and a combobox)and another button to save the contents present in the textbox and the combobox to my database...how can i do that???
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sam HobbsRank #107 · 20.5K reputationPosted Jan 31, 2010, 7:34 AM EST
Except I am not sure how to do that for the combobox. Usually the contents of a combobox would be in a separate table and a code would be used to link the combobox item to the data in the main row.