private void BindUnitTypeDropDown(DropDownList ddl) { LkpUnitTypeManager lkpUnitTypeManager = new LkpUnitTypeManager(); ddl.DataSource = lkpUnitTypeManager.GetAll(); ddl.DataBind(); ddl.Items.Insert(0, new ListItem("--Select--")); }
private void BindUnitTypeDropDown(DropDownList ddl) { LkpUnitTypeManager lkpUnitTypeManager = new LkpUnitTypeManager(); ddl.DataSource = lkpUnitTypeManager.GetAll(); ddl.DataBind(); ddl.Items.Insert(0, new ListItem("--Select--")); }