Y
yeltsin27
I can see how to use a cookie, control property, form input value,
profile, query string or session value as a parameter to a SQL Data
Source.
However I would like to use a property that is declared on the page
(which as it happens is persised in VIEWSTATE).
I know I could write the property to a control, but that's no different
to writing the value to the ControlParameter, which is what I'm doing
now.
Using a property declaratively seems an obvious thing to want to do.
Can I do it, and if so how?
Thanks,
Chris N.
P.S. When would I use a form parameter rather than a control property,
except in the (unusual?) case where that form parameter was not exposed
via a control?
profile, query string or session value as a parameter to a SQL Data
Source.
However I would like to use a property that is declared on the page
(which as it happens is persised in VIEWSTATE).
I know I could write the property to a control, but that's no different
to writing the value to the ControlParameter, which is what I'm doing
now.
Using a property declaratively seems an obvious thing to want to do.
Can I do it, and if so how?
Thanks,
Chris N.
P.S. When would I use a form parameter rather than a control property,
except in the (unusual?) case where that form parameter was not exposed
via a control?