Esempio n. 1
0
        public void Refresh(bool isLoadCurrentBranch)
        {
            //ACMSLogic.User.BranchCode
            ACMSDAL.TblEmployee employee = new ACMSDAL.TblEmployee();
            if (isLoadCurrentBranch)
            {
                employee.StrBranchCode = ACMSLogic.User.BranchCode;
                myDataTable = employee.SelectAllWstrBranchCodeLogic();
            }
            else
                myDataTable = employee.SelectAll();

            Init();
        }