JCK.Web/declaration/proxyapply.aspx.cs

(开头部分) 3KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using JCK.Common;
using System.Data.SqlClient;

namespace JCK.Web.declaration
{
    public partial class proxyapply : Web.UI.ManagePage
    {
        protected Model.Info info;
        protected Model.Online_User on_u;
        protected string keywords;
        int pageSize = 10;


        protected void Page_Load(object sender, EventArgs e)
        {
            info = GetInfo();
            on_u = GetUserInfo();
            if (!IsPostBack)
            {
            
                ChkAdminLevel("proxyapply", CEnums.ActionEnum.View.ToString()); //检查权限
                rptBind();
            }
        }

        #region 数据绑定=================================
        private void rptBind()
        {
            Model.Online_User on_u = GetUserInfo();

            //string where = "1=1 ";
            //this.keywords = txtKeywords.Text;
             
            string strSQL = @"
               select 
                ID, 
                QY_BH,
                (select name from Online_Enterprise where bh=QY_BH) QY_BH_Name,
                QY_Cnt, 
                BG_BH, 
                (select name from Online_Enterprise where bh=BG_BH) BG_BH_Name,
                [status], 
                createdate
                from dbo.proxyapply      
                where 1=1 
            ";

        

          
            string bh = "";
            if (info.isadmin == "0")
            {
后面还有 76 行代码,购买后查看完整代码

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

AI 解读

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

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