修改月工效

This commit is contained in:
高飞 2023-10-20 15:42:49 +08:00
parent 88c39643fa
commit cc10090d1c
2 changed files with 7 additions and 1 deletions

View File

@ -28,7 +28,7 @@
<Toolbars>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server">
<Items>
<f:DatePicker ID="txtMonth" runat="server" Label="月份" LabelAlign="Right" DateFormatString="yyyy-MM" DisplayType="Month" LabelWidth="120px"></f:DatePicker>
<f:DatePicker ID="txtMonth" runat="server" Label="月份" LabelAlign="Right" DateFormatString="yyyy-MM" DisplayType="Month" AutoPostBack="true" OnTextChanged="txtMonth_TextChanged" LabelWidth="120px"></f:DatePicker>
<f:TextBox runat="server" ID="hdId" Hidden="true"></f:TextBox>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="BtnAnalyse" Text="统计" Icon="ChartPie"

View File

@ -247,5 +247,11 @@ namespace FineUIPro.Web.PZHGL.InformationProject
}
}
#endregion
protected void txtMonth_TextChanged(object sender, EventArgs e)
{
Grid1.DataSource = null;
Grid1.DataBind();
}
}
}