private void BindTruck() { BindDropdownDAL obj = new BindDropdownDAL(); var TruckNolst = obj.BindTruckNoPurchase(); ddlLorry.DataSource = TruckNolst; ddlLorry.DataTextField = "Lorry_No"; ddlLorry.DataValueField = "lorry_idno"; ddlLorry.DataBind(); ddlLorry.Items.Insert(0, new System.Web.UI.WebControls.ListItem("--Select--", "0")); }