WELOA.Web/sb/admin/login_get.aspx.cs

(开头部分) 15KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WELOA.Model;
using LSBLL;
using SBBLL;
using System.Data;

namespace Web.sb.admin
{
    public partial class login_get : System.Web.UI.Page
    {
        
       
        private DateSetInformation dsinfo = new DateSetInformation();
       
        private LS_Manager managerBLL = new LS_Manager();
       
        private SB_Get sb_Get = new SB_Get();
        private SB_System sb_systemBLL = new SB_System();
        private LS_Staff staffBLL = new LS_Staff();
        private SB_Storage storageBLL = new SB_Storage();
       
        private Polytechnic trinfo = new Polytechnic();

        
        protected void btGet_Click(object sender, EventArgs e)
        {
            string strManager = this.Manager();
            this.dsinfo = this.sb_Get.select_Get(this.lbStaffnumber.Text, "预领");
            if (this.dsinfo.nException > 0)
            {
                this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常11,请联系管理员处理。')</script>");
            }
            else
            {
                DataSet ds = this.dsinfo.ds;
                this.dsinfo = null;
                if (ds.Tables[0].Rows.Count > 0)
                {
                    this.trinfo = this.sb_Get.upGet(ds, strManager);
                    if (this.trinfo.nException > 0)
                    {
                        this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('没有全部领出成功,请查询核对预领表及领出表。')</script>");
                    }
                    else
                    {
                        this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('领出成功。')</script>");
                    }
                    string strTable = this.trinfo.strTable;
                    if (strTable != "")
                    {
                        base.Response.Redirect("login_getprint.aspx?strIouid=" + strTable);
                    }
                }
                else
                {
后面还有 265 行代码,解锁后查看完整代码

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

AI 解读

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

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