Microsoft
Software
Hardware
Network
Question : asp.net I have a sqldatasource select witha a where that searches between dates
My setup is not working ??
this is where I have my calendar controls
<asp:ToolkitScriptManager ID="ToolkitScriptManager1"
runat="server"> </asp:ToolkitScriptManager
>
Begin Date <asp:TextB
ox ID="BeginDate" runat="server" Width="70"></asp:TextBox>
<asp:Image id="Image1" runat="server" ImageUrl="~/images1/calend
ar_schedul
eHS.png" />
<asp:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="BeginDate
" PopupButtonID="Image1">
</asp:CalendarExtender>
End Date <asp:TextB
ox ID="EndDate" runat="server" Width="70"></asp:TextBox>
<asp:Image id="Image2" runat="server" ImageUrl="~/images1/calend
ar_schedul
eHS.png" />
<asp:CalendarExtender ID="CalendarExtender2" runat="server" TargetControlID="EndDate" PopupButtonID="Image2">
</asp:CalendarExtender>
<asp:GridView ID="GridView2" AllowSorting="true" AllowPaging="true" Runat="server" Width="860"
DataSourceID="SqlDataSourc
e1" ShowFooter="true" DataKeyNames="Id" Font-Size="XX-Small" AutoGenerateColumns="False
" FooterStyle-HorizontalAlig
n="Right">
<Columns>
--------------------------
-------
Where e.islockedout = 'false' and (Signupdate between begindate.text.tostring("M
Mddyyyy") And enddate.text.tostring("MMd
dyyyy")
) 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>
</asp:SqlDataSource>
Answer : asp.net I have a sqldatasource select witha a where that searches between dates
Just Click here to unblock the blocked image.
Or
Refer this:
http://technet.microsoft.c
om/en-us/l
ibrary/
aa9
97826%28EX
CHG.65%29.
aspx
Hope this helps,
Shree
Random Solutions
Font Question
XenServer 5.5 The Storage repository is not available.
How to get an USB speaker to work with Eee PC 900 Xandros Linux
Difference between SSID and BSSID
SqlDataAdapter InsertCommand not updating primary key value in dataset
Looking for Video Recording Software for Samsung Cameras
Asp.Net profile information in SQL view
How to compress a string into a short representation in ASP.NET using C# or VB.NET?
How can i do insert more data with insert query with more select statment linqToSQL?
VB.NET simple SendMail program error: System.Net.Mail.SmtpExcept
ion: Failure sending mail