private void BindTyreType() { BindDropdownDAL obj = new BindDropdownDAL(); var lst = obj.SelectTyreType(); obj = null; if (lst != null && lst.Count > 0) { ddltype.DataSource = lst; ddltype.DataTextField = "TyreType_Name"; ddltype.DataValueField = "TyreType_IdNo"; ddltype.DataBind(); } ddltype.Items.Insert(0, new ListItem("--Select--", "0")); }