Hello Experts, I have following code to display data in dropdownlist and displayed successfully, DataClassesDataContext dc = new DataClassesDataContext (); CustomerNameDropDownList.DataSource = dc.mCustomers; CustomerNameDropDownList.DataTextField = "CustomerName" ; CustomerNameDropDownList.DataValueField = "CustomerId" ; CustomerNameDropDownList.DataBind(); now i can display all customer's name in dropdown list. I just want to append the first index value of dropdownlist as - -Select customer name
Read More...