WELOA.Web/yw/notice.aspx.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using WELOA.Model;
using LSBLL;
using System.IO;
namespace Web.yw
{
public partial class notice : System.Web.UI.Page
{
private DataSet ds;
private DateSetInformation dsinfo;
private LS_Login_Notice NoticeBLL = new LS_Login_Notice();
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[] strStaff;
private LS_System systemBLL = new LS_System();
private LS_xls xlsBLL = new LS_xls();
protected void btBack_Click(object sender, EventArgs e)
{
this.table_ListNotice.Visible = true;
this.table_ViewNotice.Visible = false;
this.lbNoticemanages.Text = "";
this.lbNoticedate.Text = "";
this.lbDepartment.Text = "";
this.lbNoticetitle.Text = "";
this.lbNoticecontent.Text = "";
}
protected void btManage_Click(object sender, EventArgs e)
{
base.Response.Redirect("notice_manage.aspx");
}
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
for (int i = 0; i < this.GridView1.Rows.Count; i++)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes.Add("onmouseover", "c=this.style.backgroundColor;this.style.backgroundColor='#99CCFF'");
e.Row.Attributes.Add("onmouseout", "this.style.backgroundColor=c");
}
}
if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Cells[0].Width = 60;
后面还有 150 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
