SGGL_SHJ/SGGL/FineUIPro.Web/HSSE/SitePerson/DayReportDetailView.aspx.cs

21 lines
748 B
C#

using BLL;
using System;
namespace FineUIPro.Web.HSSE.SitePerson
{
public partial class DayReportDetailView : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
btnClose.OnClientClick = ActiveWindow.GetHideReference();
string projectId = Request.Params["ProjectId"];
string unitId = Request.Params["UnitId"];
DateTime compileDate = Funs.GetNewDateTimeOrNow(Request.Params["CompileDate"]);
this.Grid1.DataSource = BLL.SitePerson_DayReportUnitDetailService.getDayReportUnitDetails(projectId, unitId, compileDate);
this.Grid1.DataBind();
}
}
}
}