public bool CheckData(int type, string StoreCD, string YYYYMM) { switch (type) { case 1: dtCheck = bbl.SimpleSelect1("47", "", StoreCD, YYYYMM); break; case 2: dtCheck = bbl.SimpleSelect1("48", "", StoreCD, YYYYMM); break; } if (dtCheck.Rows.Count > 0) { return(true); } else { return(false); } }
public DataTable Check_PayCloseDate(string ChangeDate) { return(bbl.SimpleSelect1("49", ChangeDate)); }