using LYFZ.WeixinServiceDate.DAL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace LYFZ.WeixinServers.WxAuthorize { public partial class OfficialAccountList : System.Web.UI.Page { public string table = ""; DAL_CustomerInterfaces officialAccountDal = new DAL_CustomerInterfaces(); public string eid = ""; protected void Page_Load(object sender, EventArgs e) { if (Request.QueryString["eid"] != null) { eid = Request.QueryString["eid"]; } if (Request.QueryString["delid"] == null) { string strWhere = String.Format("Token='{0}'", eid); System.Data.DataTable officialAccountTb = officialAccountDal.GetOfficialAccountList(eid); if (officialAccountTb != null) { foreach (System.Data.DataRow dr in officialAccountTb.Rows) { string AuthorizeStatus = "未授权"; if (dr["AuthorizeStatus"] != null) { AuthorizeStatus = (dr["AuthorizeStatus"].ToString() == "1" ? "已授权" : "未授权"); } table += "