public IDataReader Select_Group(int transGroupID) { dbComm = new Communicate(); IDataReader idr = dbComm.SelectCMD(string.Format("exec SP_fin_SelectVouchar @transGroupId={0}", transGroupID)); return(idr); }
public IDataReader Select_Group(int transGroupID, bool isOfficial) { dbComm = new Communicate(); IDataReader idr = dbComm.SelectCMD(string.Format("exec SP_fin_SelectVouchar @transGroupId={0}, @isOfficial={1}", transGroupID, Convert.ToInt32(isOfficial))); return(idr); }