Plist.aspx.cs 1.1 KB

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Data;
  7. using System.Text;
  8. using System.Web.UI.WebControls;
  9. using ServiceReference;
  10. public partial class Plist : System.Web.UI.Page
  11. {
  12. public IPowerMettersService services;
  13. public string guid;
  14. public string text;
  15. protected void Page_Load(object sender, EventArgs e)
  16. {
  17. services = new PowerMettersServiceClient();
  18. guid = Request.QueryString["guid"] == null ? "" : Request.QueryString["guid"].ToString();
  19. if (guid != "")
  20. {
  21. PowerMattersBase[] lm = services.GetPowerMatters(guid,"14");
  22. foreach (PowerMattersBase c in lm)
  23. {
  24. text = text + "<li><a class='list1_one' href='show.aspx?ROWGUID=" + c.QL_INNER_CODE + "' ><span>" + c.QL_NAME.Replace("$", "") + "</span></a><div class='list1_li_pj' onclick='javascript:window.location.href=\"naire.aspx?uid=1&ROWGUID=" + c.QL_INNER_CODE + "\"'>评价</div></li>";
  25. }
  26. }
  27. }
  28. }