hai siju,
here is the code
DropDownList1.D ataSource = ds;
DropDownList1.D ataTextField = ds.Columns[0].ColumnName;//or we can give column name as a string which look like ->
DropDownList1.D ataTextField ="name"
DropDownList1.D ataBind();...
Leave a comment: