//************************************************************************** /// <Description> /// This method uses to get all report data of a group by user role /// </Description> /// <Inputs> /// Group ID /// </Inputs> /// <Outputs> /// DataSet /// </Outputs> /// <Returns> /// DataSet /// </Returns> /// <Authors> /// DungLA /// </Authors> /// <History> /// Created: 29-Dec-2004 /// </History> /// <Notes> /// </Notes> //************************************************************************** public ArrayList GetAllReports(string pstrGroupID, string pstrUserName) { // get user id int intUserID = new Sys_UserDS().GetUserIDByUserName(pstrUserName); sys_ReportDS dsSysReport = new sys_ReportDS(); return(dsSysReport.GetAllReports(pstrGroupID, intUserID)); }
/// <summary> /// Get all report in a group /// </summary> /// <param name="pstrGroupID">Group ID</param> /// <returns>List of Report in a group</returns> public ArrayList GetAllReports(string pstrGroupID) { sys_ReportDS dsSysReport = new sys_ReportDS(); return(dsSysReport.GetAllReports(pstrGroupID)); }
//************************************************************************** /// <Description> /// This method uses to get all report /// </Description> /// <Inputs> /// /// </Inputs> /// <Outputs> /// ArrayList /// </Outputs> /// <Returns> /// ArrayList /// </Returns> /// <Authors> /// DungLA /// </Authors> /// <History> /// 06-Jan-2005 /// </History> /// <Notes> /// </Notes> //************************************************************************** public ArrayList GetAllReports() { sys_ReportDS dsSysReport = new sys_ReportDS(); return(dsSysReport.GetAllReports()); }