I need to set the defaultvalue of an asp:controlparameter to 1 year ago today.
<asp:SqlDataSource ID="InvDataSource"...
<SelectParameters>
<asp:ControlParameter ControlID="txtFromDate" Name="FromDate" PropertyName="Text" Type="String" DefaultValue="" />
...
How do I set this? I'm using c#. Thx for any help!
<asp:SqlDataSource ID="InvDataSource"...
<SelectParameters>
<asp:ControlParameter ControlID="txtFromDate" Name="FromDate" PropertyName="Text" Type="String" DefaultValue="" />
...
How do I set this? I'm using c#. Thx for any help!