How can we retrieve the value which was selected from a combo box in a datagrid view.
The grid view consists of 3 columns which are combo boxes. I want the string in the 1st column.
What is difference in record set and dataset
Recordset provides data one row at a time.Dataset is a data structure which represents the complete table data at same time.Recordset has the logic to update and manipulate datadataset is just a data store and manipulation is done through dataadapters in .Net.
Recordset is the Read only & forward only mechanism. But Dataset is the Editable. Recordset is connection oriented and Dataset need connection once to dump the data from the data base. Dataset holds more than one table at a time but recordset holds only one.
1) A DataSet can represent an entire relational database in memory, complete with tables, relations, and views, A Recordset can not.2) A DataSet is designed to work without any continuing connection t...
Editorial / Best Answer
Answered by: veluworld
View all questions by veluworld View all answers by veluworld
Member Since Jul-2007 | Answered On : Aug 28th, 2008
((DropDownList)GV_chart.Rows[e.RowIndex].FindControl("Dcity1"));
Here GV_Chart is the id of Grid View And DCity is the Name of the dropdown list
((DropDownList)GV_chart.Rows[e.RowIndex].FindControl("Dcity1"));
Here GV_Chart is the id of Grid View And DCity is the Name of the dropdown list
Use this for fetching the values from combo boxfor (int i = 0; i < dataGridView1.Rows.Count; i++) &nbs...