WELOA.Web/sb/show/warehousing_nopass_checked.aspx.cs
(开头部分) 12KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LSBLL;
using WELOA.Model;
using SBBLL;
using System.Data;
namespace Web.sb.show
{
public partial class warehousing_nopass_checked : System.Web.UI.Page
{
private LS_IsPage Allowpages = new LS_IsPage();
private DateSetInformation dsinfo = new DateSetInformation();
private int nPage = 0;
private LS_Staff staffBLL = new LS_Staff();
private string strAudited = "";
private string strPageName = "warehousing_nopass_checked.aspx";
private SB_System systemBLL = new SB_System();
private Polytechnic trinfo = new Polytechnic();
private SB_warehousing warehousingBLL = new SB_warehousing();
protected void btTijiao_Click(object sender, EventArgs e)
{
this.lbMessage.Text = "";
string text = this.lbId.Text;
string strAudited = this.rblAudited.Text;
string strAuditerNumber = this.staffnumber();
string strAuditer = this.staffname(this.staffnumber());
this.dsinfo = this.warehousingBLL.select_Id(text);
if (this.dsinfo.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常,请联系管理员处理。')</script>");
}
else if (this.dsinfo.ds.Tables[0].Rows.Count > 0)
{
if (this.dsinfo.ds.Tables[0].Rows[0]["audited"].ToString() == "不通过")
{
this.trinfo = this.warehousingBLL.updateWarehousing(text, strAuditerNumber, strAuditer, strAudited);
if (this.trinfo.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常,请联系管理员处理。')</script>");
}
else
{
if (this.trinfo.rowsnum > 0)
{
this.lbMessage.Text = "审核成功。";
this.Panel1.Visible = false;
this.lbId.Text = "";
}
后面还有 207 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
