From 1e608129cdadef0e8f02eb9c2baf742af1868d3d Mon Sep 17 00:00:00 2001 From: xiaj <1784803958@qq.com> Date: Fri, 16 May 2025 18:18:05 +0800 Subject: [PATCH] 1 --- .../HSSE/EduTrain/Trainingrecords.aspx.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/SGGL/FineUIPro.Web/HSSE/EduTrain/Trainingrecords.aspx.cs b/SGGL/FineUIPro.Web/HSSE/EduTrain/Trainingrecords.aspx.cs index f42707c..b4b73ed 100644 --- a/SGGL/FineUIPro.Web/HSSE/EduTrain/Trainingrecords.aspx.cs +++ b/SGGL/FineUIPro.Web/HSSE/EduTrain/Trainingrecords.aspx.cs @@ -32,7 +32,7 @@ namespace FineUIPro.Web.HSSE.EduTrain if (!IsPostBack) { Funs.DropDownPageSize(this.ddlPageSize); - + ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); if (!string.IsNullOrEmpty(Request.Params["personId"])) ///是否文件柜查看页面传项目值 { @@ -40,7 +40,7 @@ namespace FineUIPro.Web.HSSE.EduTrain } // 绑定表格 BindGrid(); - + } } @@ -74,7 +74,7 @@ namespace FineUIPro.Web.HSSE.EduTrain if (!string.IsNullOrEmpty(txtName.Text.Trim())) { - strSql += " AND p.PersonName like '%"+ txtName.Text.Trim() + "%'"; + strSql += " AND p.PersonName like '%" + txtName.Text.Trim() + "%'"; } if (!string.IsNullOrEmpty(this.txtStartDate.Text.Trim())) { @@ -200,7 +200,7 @@ namespace FineUIPro.Web.HSSE.EduTrain { html = (row.FindControl("lblVideoProgress") as AspNet.Label).Text; } - + //sb.AppendFormat("{0}", html); sb.AppendFormat("{0}", html); } @@ -229,10 +229,11 @@ namespace FineUIPro.Web.HSSE.EduTrain { return (Convert.ToInt32(time) / 60).ToString(); } - else { + else + { return hours; } - + } return hours; }