S
SMXBob
I have a slight problem resetting a date select parameter in that I can't
get the records with null dates.
For instance this select statement
SelectCommand="SELECT * FROM [MyTable] WHERE ([DueDate] < @DueDateParm)"
<asp:SessionParameter
Name="DueDateParm"
SessionField="DueDateParm"
DefaultValue=""
ConvertEmptyStringToNull="true"
DbType="DateTime" />
If I set DueDateParm to a date it works fine I get all of the recors less
than that date. But I can't figure out how to reset it so every record comes
back.Records with Null dates are not selected.
The only method I can find is Clear but it clears ALL parameters. I just
want to reset this one.
Thanks for any suggestionsk
get the records with null dates.
For instance this select statement
SelectCommand="SELECT * FROM [MyTable] WHERE ([DueDate] < @DueDateParm)"
<asp:SessionParameter
Name="DueDateParm"
SessionField="DueDateParm"
DefaultValue=""
ConvertEmptyStringToNull="true"
DbType="DateTime" />
If I set DueDateParm to a date it works fine I get all of the recors less
than that date. But I can't figure out how to reset it so every record comes
back.Records with Null dates are not selected.
The only method I can find is Clear but it clears ALL parameters. I just
want to reset this one.
Thanks for any suggestionsk