hello hi
i have one problem here it is related to use of dropdownlist within the datagrid(datagrid is displaying the database from sql server ).
please send me some examples on the same.
thanks
Raghavendra DG
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
csharphelpPosted Oct 23, 2005, 6:34 AM
let you fire a query
select a,b from table
and the result is collected in the dataset ds and ddl is the dropdownlist control then
ddl.DataSource=ds;
ddl.DataValueField="A";
ddl.DataTextField="B";
ddl.DataBind();