WELOA.Web/kq/show/departmentattendance.aspx.cs
(开头部分) 12KB这里只显示每个文件的开头 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 System.Data;
using WELOA.Model;
using System.IO;
namespace Web.kq.show
{
public partial class departmentattendance : System.Web.UI.Page
{
private KQ_Attendancedetails AttendancedetailsBLL = new KQ_Attendancedetails();
private LS_Departmentandpost departBLL = new LS_Departmentandpost();
private DataSet ds = null;
private DateSetInformation dsinfo = null;
private int nPage;
private int Record_Per_Page;
private LS_Staff staffBLL = new LS_Staff();
private string strcodeDepartment;
private string strcodeStaff;
private string strDateEnd;
private string strDateStar;
private string strDepartment;
private string strPageName;
private string strStaff;
private string strZhengjian;
private LS_xls xlsBLL = new LS_xls();
protected void btExcel_Click(object sender, EventArgs e)
{
}
protected void btnQuery_Click(object sender, EventArgs e)
{
this.nPage = Convert.ToInt32(base.Request.QueryString["Page"]);
this.Record_Per_Page = Convert.ToInt32(this.tbNum.Text.Trim());
this.strStaff = this.tbStaff.Text.Trim();
this.strDepartment = this.ddlDepartment.Text;
this.strDateStar = this.date1.Text.Trim();
this.strDateEnd = this.date2.Text.Trim();
TimeSpan span = (TimeSpan)(Convert.ToDateTime(this.strDateEnd) - Convert.ToDateTime(this.strDateStar));
if (span.Days > 0x16e)
{
this.Page.ClientScript.RegisterStartupScript(base.GetType(), "", "<script>alert('查询间隔不要超过一年。')</script>");
}
else
{
this.dsinfo = this.AttendancedetailsBLL.selectAttendancedetails(this.Record_Per_Page, this.nPage, this.strStaff, this.strDepartment, this.strDateStar, this.strDateEnd);
后面还有 198 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
