Esempio n. 1
0
 public static DataTable GetReport(DateTime reportDate)
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         DataSet ds = client.GetReportByDate(reportDate);
         return(ds.Tables[0]);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 2
0
 public static long SubmitReport(DateTime submitDate, int categoryId, string keywords, string content)
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         long newId = client.SubmitReport(submitDate, categoryId, keywords, content);
         return(newId);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 3
0
 public static string GetTitle()
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         string title = client.GetReportTitle();
         return(title);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 4
0
 public static DataTable GetCategory()
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         DataSet ds = client.GetCategoryList();
         return(ds.Tables[0]);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 5
0
 public static DataTable GetContent(DateTime reportDate, int categoryId)
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         DataSet ds = client.GetContentByCategory(reportDate, categoryId);
         return(ds.Tables[0]);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Esempio n. 6
0
 public static DataTable GetSearchResult(DateTime startDate, DateTime endDate, string keyword)
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         DataSet ds = client.GetSearchResult(startDate, endDate, keyword);
         return(ds.Tables[0]);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }