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