Example #1
0
        public void LoadUnits()
        {
            List <UnitMasterModel> lstUnits = objUnitBl.GetListofUnits();

            foreach (UnitMasterModel objunit in lstUnits)
            {
                cbxMainunit.Properties.Items.Add(objunit.UnitName);
                cbxSubunit.Properties.Items.Add(objunit.UnitName);
            }
        }
Example #2
0
        private void UnitmasterList_Load(object sender, EventArgs e)
        {
            List <eSunSpeedDomain.UnitMasterModel> lstUnits = objunitbl.GetListofUnits();

            dvgUnitmasterList.DataSource = lstUnits;
        }