diff --git a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx index a1f826d..3035ca6 100644 --- a/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx +++ b/HJGL_DS/FineUIPro.Web/File/Fastreport/JGZL/管道焊接接头报检检查记录.frx @@ -1,5 +1,5 @@  - + using System; using System.Collections; using System.Collections.Generic; @@ -42,7 +42,7 @@ namespace FastReport } - + diff --git a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx index d76101e..e8c9abe 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx +++ b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx @@ -44,7 +44,8 @@ - + + <%----%> @@ -53,53 +54,6 @@ - <%-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --%> - lists = new List(); + for (int i = 0; i < this.Grid1.Rows.Count; i++) + { + lists.Add(string.Format("{0:yyyy-MM-dd}", this.Grid1.Rows[i].Values[4])); + } + lists = lists.Distinct().ToList(); + + this.drpWeldingDate.DataTextField = "Text"; + this.drpWeldingDate.DataValueField = "Value"; + this.drpWeldingDate.DataSource = lists; + this.drpWeldingDate.DataBind(); + Funs.FineUIPleaseSelect(this.drpWeldingDate); + this.drpWeldingDate.SelectedIndex = 0; + } + } + + protected void drpWeldingDate_SelectedIndexChanged(object sender, EventArgs e) { BindGrid(); } diff --git a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs index 58320be..27b47d3 100644 --- a/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs +++ b/HJGL_DS/FineUIPro.Web/JGZL/WeldInspectionCheckRecord.aspx.designer.cs @@ -114,13 +114,13 @@ namespace FineUIPro.Web.JGZL protected global::FineUIPro.DropDownList drpJointType; /// - /// txtWeldingDate 控件。 + /// drpWeldingDate 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtWeldingDate; + protected global::FineUIPro.DropDownList drpWeldingDate; /// /// ToolbarFill1 控件。