WELOA.Web/gz/admin/login_privileges.aspx.cs
(开头部分) 8KB这里只显示每个文件的开头 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 System.Data;
using GZBLL;
using WELOA.Model;
namespace Web.gz.admin
{
public partial class login_privileges : System.Web.UI.Page
{
private LS_Departmentandpost departmentandpostBLL = new LS_Departmentandpost();
private DataSet ds = null;
private GZ_Privileges privilegesBLL = new GZ_Privileges();
protected void btTijiao_Click(object sender, EventArgs e)
{
string strPost = this.ddlPostList.Text.Trim();
string strDepartment = "";
string strPrivileges = "";
for (int i = 0; i < this.cblColumns.Items.Count; i++)
{
strDepartment = this.cblColumns.Items[i].Text.Trim();
if (this.cblColumns.Items[i].Selected)
{
strPrivileges = "是";
}
else
{
strPrivileges = "";
}
if (this.privilegesBLL.updataPrivileges(strPost, strDepartment, strPrivileges).nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常4,请联系管理员处理。')</script>");
return;
}
}
base.Response.Redirect("login_privileges.aspx");
}
protected void ddlPostList_SelectedIndexChanged(object sender, EventArgs e)
{
DateSetInformation DateSetInformation = this.privilegesBLL.selectXiangmu(this.ddlPostList.Text);
if (DateSetInformation.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常5,请联系管理员处理。')</script>");
}
else
{
this.ds = DateSetInformation.ds;
DateSetInformation = null;
if (this.ds.Tables[0].Rows.Count > 0)
后面还有 132 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
