市长热线演示版

knowledgeview.aspx.cs 1.1KB

12345678910111213141516171819202122232425262728293031
  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 HySoft.BaseCallCenter.Web.knowledgemanage
  8. {
  9. public partial class knowledgeview : System.Web.UI.Page
  10. {
  11. protected void Page_Load(object sender, EventArgs e)
  12. {
  13. if (Request.QueryString["action"] != null)
  14. {
  15. string action = Request.QueryString["action"].ToString();
  16. if (action == "view")
  17. {
  18. if (Request.QueryString["singleFlage"] != null)
  19. {
  20. int repositoryid = Convert.ToInt32(Request.QueryString["singleFlage"].ToString());
  21. Model.T_RepositoryInformation tri = new BLL.T_RepositoryInformation().GetModel(repositoryid);
  22. lblTitle.Text = tri.F_Title;
  23. lblKeyWords.Text = tri.F_KeyWords;
  24. lblContent.InnerHtml = HttpUtility.HtmlDecode(tri.F_Content);
  25. }
  26. }
  27. }
  28. }
  29. }
  30. }