Exemplo n.º 1
0
        private void BindItemTypeDropdown()
        {
            IQCareUtils theUtils = new IQCareUtils();

            ddlItemType.Items.Clear();
            IMasterList objProgramlist = (IMasterList)ObjectFactory.CreateInstance("BusinessProcess.SCM.BMasterList,BusinessProcess.SCM");
            DataTable   theDT          = objProgramlist.GetBillingGroups();

            DataView theDV = new DataView(theDT);

            theDV.RowFilter = "DeleteFlag = 0";
            BindFunctions theBind = new BindFunctions();

            theBind.Win_BindCombo(ddlItemType, theDV.ToTable(), "Name", "BillingTypeID");
        }