In Visual Studio ASP.NET
Code:
<asp:sqldatasource id="sqldatasource3"
runat="server"
connectionstring="<%$ ConnectionStrings:VPSConnectionString %>"
selectcommand="SELECT [Price], [Date], [Route_Start], [Route_Destination] FROM [Billing] WHERE ([Username] = @Username)">
<SelectParameters>
<asp:SessionParameter Name="Username"
SessionField="username_universal"
Type="String" />
</SelectParameters>
</asp:sqldatasource>
Database:
Im trying to filter the entries on the webpage based on the date to the current date. I have successfully filtered by the username but I can't seem to figure out how to use the current date within this .aspx file.
Any help is greatly appreciated.