Exemple #1
0
        private void BindUnitTypeDropDown(DropDownList ddl)
        {
            LkpUnitTypeManager lkpUnitTypeManager = new LkpUnitTypeManager();

            ddl.DataSource = lkpUnitTypeManager.GetAll();
            ddl.DataBind();
            ddl.Items.Insert(0, new ListItem("--Select--"));
        }
Exemple #2
0
 private void BindLkpUnitTypeGrid()
 {
     grvUnitType.DataSource = lkpUnitTypeManager.GetAll();
     grvUnitType.DataBind();
 }