ddlselectuser.DataTextField = "empname"; ddlselectuser.DataValueField = "empid"; ddlselectuser.DataBind();
DropDownList1.DataSource = ddDR; DropDownList1.DataTextField = "DisplayValueFieldFromDB"; DropDownList1.DataValueField = "DataValueFieldFromDB"; DropDownList1.DataBind();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)