Hi,
I'm trying to bind a calendar control's selected date to populate a gridview. I'm wondering if it has to do with date formatting?
I'm trying to bind a calendar control's selected date to populate a gridview. I'm wondering if it has to do with date formatting?
Code:
SelectCommand="SELECT * FROM [tblTest] WHERE ([ReportDate] = @ReportDate) ORDER BY [ReportDate]"
<SelectParameters>
<asp:ControlParameter ControlID="Calendar1" Name="ReportDate"
PropertyName="SelectedDate" Type="DateTime" />
</SelectParameters>