ZCGL/ZCCX.aspx.cs

(开头部分) 14KB

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

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
/*
 * 景利业
 * 资产 报废 停用,维修查询
 */
namespace Web_GZJL.ZCGL
{
    public partial class ZCCX : System.Web.UI.Page
    {
        string type = "";
        public string t1 = "", t0 = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            //Session["userid"] = "admin";
            //Session["XZQH"] = "130100";
            //Session["userid"] = "zhangsan";
            //Session["XZQH"] = "130102";
            if (Session["userid"] == null)
            {
                Response.Redirect("../tooltip/Error.aspx", true);
                return;
            }

            t0 = DataOper.retMenuTitle(Request.Path, "0");
            t1 = DataOper.retMenuTitle(Request.Path, "1");

            

            if (!IsPostBack)
            {
                
                //DataBase.Exe_filllist(DropDownList1, "select XZQH,DEPARTNAME from SYS_DEPART", "XZQH", "DEPARTNAME");//第一个是全部
                DataBase.Exe_fill(DropDownList1, "select XZQH,DEPARTNAME from SYS_DEPART", "XZQH", "DEPARTNAME");//第一个是空

                if (Session["XZQH"].ToString() == "130100")
                {
                    xuzexianqu.Visible = true;
                }
                else
                {
                    xuzexianqu.Visible = false;
                }

                txt_name.Attributes.Add("readonly", "readonly");
                txt_nameid.Attributes.Add("readonly", "readonly");
                ViewState["edit"] = "";
                ViewState["where"] = " and z.sbshzt<>'0' and z.xzqhID='" + Session["XZQH"].ToString() + "' ";

                getData();


                type = Request.QueryString["type"];
                if (type != "" || type != null)
                {
                    string sql = " and z.xzqhID = '" + Session["XZQH"].ToString() + "'  ";
后面还有 326 行代码,解锁后查看完整代码

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

AI 解读

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

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