C#:
DataSet ds;
DataTable dt;
DataRow newRow;
ds = webService.getMyDDLValues();
if ((ds.Tables.Count > 0) && (ds.Tables[0].Rows.Count > 0))
{
dt = ds.Tables[0];
newRow = dt.NewRow();
newRow["SELECT_VALUE"] = "-1";
neRow["SELECT_TEXT"] = "--ALL--";
dt.Rows.InsertAt(newRow, 0);
myDDL.DataSource = dt;
myDDL.DataBind();
}
ASP.NET:
<asp:DropDownList CssClass="myDDLClass" ID="myDDL" DataValueField="SELECT_VALUE" DataTextField="SELECT_TEXT" runat="server" ></asp:DropDownList>