C
Carlos Albert
Hello everybody,
I have a gridview, and the SelectCommand should change depending on a
Session value.
Not the WHERE, but the field that it retrieves. It goes like this:
SELECT NAME, COST, CATEGORY(###) AS CATEGORY FROM TABLE
Where Category can be Category1, Category2, etc, etc, etc, and I have the
little number in a Session. I tried to put in in some hidden textbox,
variable, anything, but can't make it work.
Would anybody give me some help? ^^
I have a gridview, and the SelectCommand should change depending on a
Session value.
Not the WHERE, but the field that it retrieves. It goes like this:
SELECT NAME, COST, CATEGORY(###) AS CATEGORY FROM TABLE
Where Category can be Category1, Category2, etc, etc, etc, and I have the
little number in a Session. I tried to put in in some hidden textbox,
variable, anything, but can't make it work.
Would anybody give me some help? ^^