1
Reply

dropdownlist inside the gridview

Ask a question
siddu b

siddu b

10y
576
1
hi
 
i have dropdownlist inside the gridview.i have bind the dropdownlist using RowDataBound event.
i want 
set the default seleted text which comes from the dataset first column how can i do it
string qry2 = string.Empty;
qry2="select Paper_typename,Paper_name,papersize from legends.Paper_type inner join Paper_info on paper_type=Paper_typeid ";
ds11 = db.Executedataset(qry2); 
i want to bind  Paper_typename as selected for dropdown list

Answers (1)