WebUI/systems/systemSms.aspx.cs

(完整代码) 1KB

namespace hyst.systems
{
    using DBUtility;
    using System;
    using System.Data;
    using System.Text;
    using System.Web.UI;
    using System.Web.UI.HtmlControls;
    using System.Web.UI.WebControls;

    public class systemSms : Page
    {
        protected HtmlInputText addup;
        private BaseClass bc = new BaseClass();
        protected Button Button1;
        protected DropDownList ddlEnable;
        protected HtmlForm form1;
        protected HtmlHead Head1;
        public string strc = "";
        protected HtmlInputText txtname;
        protected HtmlTextArea txtremark;
        protected HtmlInputText txttnum;

        protected void Button1_Click(object sender, EventArgs e)
        {
            this.loadc();
        }

        public void loadc()
        {
            StringBuilder st = new StringBuilder();
            st.Append("<ul id=\"tree2\"> <li><span><a onclick=\"alll();\">短信设置</a> </span><ul  id=\"ttrree\">");
            string sqlc = "select * from systemSms ";
            DataTable dt = this.bc.ReadTable(sqlc);
            for (int i = 0; i < dt.Rows.Count; i++)
            {
                st.Append("<li id=\"l" + dt.Rows[i]["sId"].ToString() + "\"><span><a onclick=\"selectt('" + dt.Rows[i]["sId"].ToString() + "')\" id=\"" + dt.Rows[i]["sId"].ToString() + "\" >" + dt.Rows[i]["sName"].ToString() + "</a></span></li>");
            }
            st.Append("</ul></li></ul>");
            this.strc = st.ToString();
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {
                this.loadc();
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。