示例#1
0
 public void Refresh(string strBranchCode)
 {
     ACMSDAL.TblEmployee employee = new ACMSDAL.TblEmployee();
     employee.StrBranchCode = strBranchCode;
     myDataTable =employee.SelectAllWstrBranchCodeLogic();
     Init();
 }
示例#2
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();
        }