private void BindItemUpdate() { BindDropdownDAL obj = new BindDropdownDAL(); var itemname = obj.BindItemNameUpdate(); ddlItemName.DataSource = itemname; ddlItemName.DataTextField = "Item_name"; ddlItemName.DataValueField = "Item_idno"; ddlItemName.DataBind(); obj = null; ddlItemName.Items.Insert(0, new System.Web.UI.WebControls.ListItem("--Select--", "0")); }