B
Bishop
I have a gridview for a list of questions. Each question has a CategoryType
(int) assigned to it. There are 6 different Category Types. I have a check
box list of the different categories displayed on the page. It's easy to
assign a variable such as @CategoryType and limit the results to a single
category type but I want people to be able to make multiple selections.
I've tried changeing my query to "Where In (@CategoryType) and interrupting
the select command and setting @CategoryType to 1,2,3 but I get the errror
that it's defined as an Int.
There has to be a good way to do this?
(int) assigned to it. There are 6 different Category Types. I have a check
box list of the different categories displayed on the page. It's easy to
assign a variable such as @CategoryType and limit the results to a single
category type but I want people to be able to make multiple selections.
I've tried changeing my query to "Where In (@CategoryType) and interrupting
the select command and setting @CategoryType to 1,2,3 but I get the errror
that it's defined as an Int.
There has to be a good way to do this?