Im new to asp.net and trying to do some simple pages with the gridview control.
I can easily create a page that pulls records from a table if I enter in the "target" date as in:
<SelectParameters>
<asparameter DefaultValue="01/01/2011"
but I have been working for a couple of days now trying to figure out how to replace the "hard coded" 01/01/2011 with the current date whenever the report is run.
How can i replace DefaultValue with the current date at runtime?
any information would really be appreciated
I can easily create a page that pulls records from a table if I enter in the "target" date as in:
<SelectParameters>
<asparameter DefaultValue="01/01/2011"
but I have been working for a couple of days now trying to figure out how to replace the "hard coded" 01/01/2011 with the current date whenever the report is run.
How can i replace DefaultValue with the current date at runtime?
any information would really be appreciated