dropdownlist selectvalue
-
i have asp page with dropdownlist with username and datatable with same cloumn when page get load first time , i want dropdownlist selectedvalue as datatables column value means in dropdown_itembound event wht i hv to write dropdowunlist1.selectedvalue=??what?? note:datatable values get change accoring updations how i will assign value to dropdownlist??
-
i have asp page with dropdownlist with username and datatable with same cloumn when page get load first time , i want dropdownlist selectedvalue as datatables column value means in dropdown_itembound event wht i hv to write dropdowunlist1.selectedvalue=??what?? note:datatable values get change accoring updations how i will assign value to dropdownlist??
bind dropdownlist with datasource, it will display automaticaly.
-
i have asp page with dropdownlist with username and datatable with same cloumn when page get load first time , i want dropdownlist selectedvalue as datatables column value means in dropdown_itembound event wht i hv to write dropdowunlist1.selectedvalue=??what?? note:datatable values get change accoring updations how i will assign value to dropdownlist??
Load data on a dataset from database and bind it with Dropdown list as if(!page.IsPostBack ) // Only when page is load DropDownlist1.DataSource=datasourcename ;
cheers, Abhijit
-
Load data on a dataset from database and bind it with Dropdown list as if(!page.IsPostBack ) // Only when page is load DropDownlist1.DataSource=datasourcename ;
cheers, Abhijit
no iwant to add perticular value of username i have no of rows....with diff username gridview colums r....username,company name,date n upadate link for each row when user can update date n username from dropdown list n save the chanes eg.defaultusername is arti n he will update tht to hema n when nxt time tht page get load in dropdown list select value must be hema not arti