WELOA.Web/kq/show/attendanceprint.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KQBLL;
using WELOA.Model;
namespace Web.kq.show
{
public partial class attendanceprint : System.Web.UI.Page
{
private KQ_Attendancedetails AttendancedetailsBLL = new KQ_Attendancedetails();
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.Session["company"] != null)) && (this.Session["company"].ToString() != ""))
{
string strDateStar = base.Request.QueryString["DateStar"];
string strDateEnd = base.Request.QueryString["DateEnd"];
string strZhengjian = this.Session["zhengjian"].ToString();
this.lbTitle.Text = this.Session["company"].ToString() + "考勤记录明细表";
DateSetInformation DateSetInformation = this.AttendancedetailsBLL.selectAttendancedetails(strZhengjian, strDateStar, strDateEnd);
if (DateSetInformation.nException > 0)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('系统出现异常4,请联系管理员处理。')</script>");
}
else
{
this.GridView1.DataSource = DateSetInformation.ds;
this.GridView1.DataBind();
this.GridView1.HeaderRow.Visible = true;
}
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
