我在gridview上有这个代码
<asp:GridView ID="ReconcileGridView" runat="server" EmptyDataText="Please Select Transaction Month And Date" AutoGenerateSelectButton="True"
BackColor="White" BorderColor="#4A3C8C" BorderWidth="3px" GridLines="Both" BorderStyle="Solid"
CellPadding="3" AllowPaging="True" OnPageIndexChanging="ReconcileGridView_PageIndexChanging"
OnRowDataBound="ReconcileGridView_RowDataBound" OnSelectedIndexChanged="ReconcileGridView_SelectedIndexChanged">
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
<AlternatingRowStyle BackColor="#F7F7F7" />
<EmptyDataTemplate>
<center>
No Record Found
</center>
</EmptyDataTemplate>
</asp:GridView>
问题在页面加载我想要出现请选择交易月份和日期这个词,当用户输入交易月份和日期并且没有检索到数据时, 应该显示没有找到记录,我该怎么做?在上面的代码中,仅显示No Record Found这个词,我在页面加载时绑定空数据以使这些消息出现。
请帮助实现这一目标。