Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Calvin Willman #1
Multiple Category Search Page
I'm trying to create a search page, with the option of selecting one of more
categories.
I understand how to code it, so the Click event runs through which are
checked and which aren't.. etc... but wanted to use a SPROC rather than
create a SQL Statement (the latter would be easier I know)
I'm wondering how I can construct the SPROC, on the Database??
I suppose, the one way would create a string to pass as the parameter to end
up something like
WHERE CategoryID = '1' OR '2' OR '3' etc...
if my SPROC is along lines.. SELECT * FROM dbo.Table WHERE CategoryID =
@CategoryID
Anyone have any ideas??
Calvin Willman Guest
-
Datagrid with multiple *header/category* rows
Is it possible to create a datagrid with this structure: --beverages-- wine beer coke --snacks-- popcorn nuts -
ANN: InterAKT Site Search - search in multiple tables
Hello, We have just released a new product, MX Site Search, meant to help web developers and designers create a search form in their dynamic... -
Page that displays SQL results by category?
I have a SQL database that contains the fields "author," "title," and "category." I want to create a web page that sorts the entries by... -
[PHP] Category and sub-category logic
Ryan A <mailto:ryan@jumac.com> on Thursday, August 14, 2003 3:21 PM said: Read this http://www.sitepoint.com/article/1105 and you will know what... -
Category and sub-category logic
Hi, I am thinking of making a program for personal use which does a very simple thing, just displays listings under categories, eg: under main... -
Calvin Willman #2
Re: Multiple Category Search Page
Parp...
i use the in keyword.
so select * from products where categoryid in @categoryid and pass (1,2)
On 20/4/05 5:40 pm, in article BE8C4493.B22%calvinwillman@orange.net,
"Calvin Willman" <calvinwillman@orange.net> wrote:
> I'm trying to create a search page, with the option of selecting one of more
> categories.
>
> I understand how to code it, so the Click event runs through which are
> checked and which aren't.. etc... but wanted to use a SPROC rather than
> create a SQL Statement (the latter would be easier I know)
>
> I'm wondering how I can construct the SPROC, on the Database??
>
> I suppose, the one way would create a string to pass as the parameter to end
> up something like
>
> WHERE CategoryID = '1' OR '2' OR '3' etc...
>
> if my SPROC is along lines.. SELECT * FROM dbo.Table WHERE CategoryID =
> @CategoryID
>
> Anyone have any ideas??
>Calvin Willman Guest



Reply With Quote

