WELOA.Web/yw/notice_manage.aspx.cs
(开头部分) 21KB这里只显示每个文件的开头 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 WELOA.Model;
using System.IO;
namespace Web.yw
{
public partial class notice_manage : System.Web.UI.Page
{
private LS_Departmentandpost DepartmentandPostBLL = new LS_Departmentandpost();
private DataSet ds = null;
private DateSetInformation dsinfo = null;
private LS_Login_Notice NoticeBLL = new LS_Login_Notice();
private int nPage;
private LS_Permission permissionBLL = new LS_Permission();
private int Record_Per_Page = 10;
private LS_Staff staffBLL = new LS_Staff();
private string strDepartment = "";
private string strNoticecontent = "";
private string strNoticetitle = "";
private string[] strStaff;
private Polytechnic trinfo = new Polytechnic();
protected void btAddNotice_Click(object sender, EventArgs e)
{
this.strStaff = this.staff();
this.strNoticetitle = this.tbNoticetitle.Text.Trim();
this.strNoticecontent = this.tbNoticecontent.Text.Trim();
this.strDepartment = this.ddlAddDepartment.Text.Trim();
string str = "";
string str2 = base.Server.MapPath(@"\") + @"upload\notice";
if (this.cblFileList.Items.Count > 0)
{
for (int i = 0; i < this.cblFileList.Items.Count; i++)
{
if (this.cblFileList.Items[i].Selected)
{
str = str + this.cblFileList.Items[i].Text + " ";
}
else
{
File.Delete(str2 + @"\" + this.cblFileList.Items[i].Text);
}
}
}
if (((this.strNoticetitle != "") && (this.strNoticecontent != "")) && (this.strDepartment != ""))
{
后面还有 399 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
