12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Linq;
- using System.Web;
- using System.Web.UI;
- using System.Web.UI.WebControls;
- namespace LYFZ.WeixinServers.WeiXinAPP
- {
- public partial class FunctionModule : System.Web.UI.Page
- {
- public System.Text.StringBuilder FunctionModuleListHtmlTb = new System.Text.StringBuilder();
- protected void Page_Load(object sender, EventArgs e)
- {
- CommonHandler.CheckLoginJump(this);
- for (int i = 0; i < Global.FunctionListDaTable.Rows.Count; i++)
- {
- DataRow row = Global.FunctionListDaTable.Rows[i];
- FunctionModuleListHtmlTb.Append("<tr>"
- + " <td>" + (i + 1).ToString() + "</td>"
- + " <td>" + row["FunctionName"].ToString() + "</td>"
- + " <td>" + row["FunctionCode"].ToString() + "</td>"
- + "<td>" + Convert.ToDateTime(row["CreateTime"]).ToString("yyyy-MM-dd HH:mm") + "</td>"
- + " <td>"
- + "<a href=\"CustomerList.aspx?eid=" + row["id"].ToString() + "\" style=\"margin-right:10px;\"><i class=\"icon-pencil\"></i></a>"
- + "<a href=\"#myModal\" role=\"button\" onclick=\"setModalValue('" + row["id"].ToString() + "@" + "')\" data-toggle=\"modal\"><i class=\"icon-remove\"></i></a>"
- + "</td>"
- + " </tr>");
- }
- }
- }
- }
|