selecting begin date & end Date from a calendar
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="BeginDate" PopupButtonID="Image1">
</asp:CalendarExtender>
End Date <asp:TextBox ID="EndDate" runat="server" Width="70"></asp:TextBox>
<asp:Image id="Image2" runat="server" ImageUrl="~/images1/calendar_scheduleHS.png" />
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="EndDate" PopupButtonID="Image2">
</asp:CalendarExtender>
-----------------------------------
*
*
*
WHERE E.IsLockedOut = 'False' and (SignUpDate BETWEEN @BeginDate AND @EndDate)
) SQ
ORDER BY userId, SignUpDate DESC">
<SelectParameters>
<asp:parameter Name="UserID" DbType="String" />
<asp:parameter Name="BeginDate" DbType="String" />
<asp:parameter Name="EndDate" DbType="String" />
</SelectParameters>
|