private void BindSupplier() { DropDownListSupplier.DataSource = ClaimSupplier.GetClaimSupplierList(); DropDownListSupplier.DataTextField = "Description"; DropDownListSupplier.DataValueField = "ClaimSupplierId"; DropDownListSupplier.DataBind(); DropDownListSupplier.Items.Insert(0, new ListItem("Please select", "0")); }
private void BindSupplier() { DropDownListSupplier.DataSource = ClaimSupplier.GetClaimSupplierList(); DropDownListSupplier.DataTextField = "Description"; DropDownListSupplier.DataValueField = "ClaimSupplierId"; DropDownListSupplier.DataBind(); DropDownListSupplier.Items.Insert(0, new ListItem("Please select", "0")); //DropDownListSupplier.Items.Insert(0, new ListItem("Please select", "0")); ////Supplier Name Change //DropDownListSupplier.Items.Insert(1, new ListItem("Monteagle Dairies(Honeydew)", "1")); //DropDownListSupplier.Items.Insert(2, new ListItem("Fairfield", "2")); //DropDownListSupplier.Items.Insert(3, new ListItem("Monteagle Africa", "3")); //DropDownListSupplier.Items.Insert(4, new ListItem("Monteagle Consumer", "4")); //DropDownListSupplier.Items.Insert(5, new ListItem("Woodlands", "5")); //DropDownListSupplier.Items.Insert(6, new ListItem("DC", "6")); //DropDownListSupplier.Items.Insert(7, new ListItem("BiscoPlus", "7")); //DropDownListSupplier.Items.Insert(8, new ListItem("Smart Chef", "8")); //DropDownListSupplier.Items.Insert(9, new ListItem("Chicka Chicken", "9")); //DropDownListSupplier.Items.Insert(10, new ListItem("Maltons", "10")); //DropDownListSupplier.Items.Insert(11, new ListItem("Other", "11")); //DropDownListSupplier.DataBind(); }