Add.aspx.cs 935 B

1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. //using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. namespace Com.Jpsoft.Hospital.Web.Module.FllowUp.FollowUpRecord
  8. {
  9. public partial class Add : Com.Jpsoft.Hospital.Web.Common.BasePage//System.Web.UI.Page
  10. {
  11. protected override void OnInit(EventArgs e)
  12. {
  13. if (!IsPostBack)
  14. {
  15. base.AutoCheckRight = false;
  16. base.CheckRightParam = Com.Jpsoft.Hospital.Web.Common.PageFuntionType.Insert;
  17. }
  18. base.OnInit(e);
  19. }
  20. protected void Page_Load(object sender, EventArgs e)
  21. {
  22. if (!IsPostBack)
  23. {
  24. if (!string.IsNullOrEmpty(Request.QueryString["patid"]))
  25. {
  26. this.txtCustomerID.Text = Request.QueryString["patid"];
  27. }
  28. }
  29. }
  30. }
  31. }