AddOfficialAccount.aspx.cs 1013 B

12345678910111213141516171819202122232425262728293031323334353637
  1. using LYFZ.WeixinServiceDate.DAL;
  2. using LYFZ.WeixinServiceDate.Model;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.UI;
  8. using System.Web.UI.WebControls;
  9. namespace LYFZ.WeixinServers.WxAuthorize
  10. {
  11. public partial class AddOfficialAccount : System.Web.UI.Page
  12. {
  13. public string eid = "";
  14. public int id=-1;
  15. public Model_CustomerInterfaces cusModel = new Model_CustomerInterfaces();
  16. DAL_CustomerInterfaces cusDal = new DAL_CustomerInterfaces();
  17. protected void Page_Load(object sender, EventArgs e)
  18. {
  19. if (Request.QueryString["eid"] != null)
  20. {
  21. eid = Request.QueryString["eid"];
  22. }
  23. if (Request.QueryString["id"] != null)
  24. {
  25. id =Convert.ToInt32(Request.QueryString["id"]);
  26. }
  27. if (id > 0)
  28. {
  29. cusModel = cusDal.GetModel(id);
  30. }
  31. }
  32. }
  33. }