DiagnosysList.aspx.cs 948 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using CLIP.eForm.Consent.WebService;
  4. namespace CLIP.eForm.Consent.Web
  5. {
  6. public partial class DiagnosysList : System.Web.UI.Page
  7. {
  8. protected void Page_Load(object sender, EventArgs e)
  9. {
  10. using (HospitalSvc svc = new HospitalSvc())
  11. {
  12. string pid = (this.Request.Params["IO_Pt_ID"] != null) ? this.Request.Params["IO_Pt_ID"] : "";
  13. string ADdate = (this.Request.Params["IO_ADdate"] != null) ? this.Request.Params["IO_ADdate"] : "";
  14. string dutinstcd = (this.Request.Params["IO_DUTINSTCD"] != null) ? this.Request.Params["IO_DUTINSTCD"] : "";
  15. ADdate = ADdate.Replace("-", "").Replace("/", "");
  16. IList<string> result = svc.GetDiagNameList(pid, ADdate, dutinstcd);
  17. rptList.DataSource = result;
  18. rptList.DataBind();
  19. }
  20. }
  21. }
  22. }