Exemplo 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;
     }
 }
Exemplo 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;
     }
 }
Exemplo n.º 3
0
 public static string GetTitle()
 {
     try
     {
         MeetingReportServiceClient client = new MeetingReportServiceClient();
         string title = client.GetReportTitle();
         return(title);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo 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;
     }
 }
Exemplo 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;
     }
 }
Exemplo 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;
     }
 }