WELOA.Web/kq/show/attendance.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KQBLL;
using LSBLL;
using WELOA.Model;
namespace Web.kq.show
{
public partial class attendance : System.Web.UI.Page
{
private KQ_Attendancedetails AttendancedetailsBLL = new KQ_Attendancedetails();
private LS_Staff staffBLL = new LS_Staff();
private string strDateEnd;
private string strDateStar;
private string strDepartment;
private string strZhengjian;
private LS_xls xlsBLL = new LS_xls();
protected void btexcel_Click(object sender, EventArgs e)
{
}
protected void btPrintViewAll_Click(object sender, EventArgs e)
{
this.strDateStar = this.date1.Text.Trim();
this.strDateEnd = this.date2.Text.Trim();
base.Server.Transfer("attendanceprint.aspx?DateStar=" + this.strDateStar + "&DateEnd=" + this.strDateEnd);
}
protected void GridView2_RowDataBound(object sender, GridViewRowEventArgs e)
{
for (int i = 0; i < this.GridView2.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");
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
if ((this.Session["rank"] == null) || (this.Session["rank"].ToString() == ""))
{
this.Session.Clear();
base.Response.Write("<script language=javascript >window.parent.location.href='../../default.aspx'</script>");
}
if ((this.Session["zhengjian"] != null) && (this.Session["zhengjian"].ToString() != ""))
{
this.strZhengjian = this.Session["zhengjian"].ToString();
后面还有 62 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
