Click here to Skip to main content
15,886,770 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Advanced search .... Pin
Amit Patel198516-Nov-09 20:23
Amit Patel198516-Nov-09 20:23 
AnswerRe: Advanced search .... Pin
Christian Graus16-Nov-09 20:09
protectorChristian Graus16-Nov-09 20:09 
GeneralRe: Advanced search .... Pin
RajpootRohan16-Nov-09 20:17
professionalRajpootRohan16-Nov-09 20:17 
GeneralRe: Advanced search .... Pin
Amit Patel198516-Nov-09 20:24
Amit Patel198516-Nov-09 20:24 
GeneralRe: Advanced search .... Pin
RajpootRohan16-Nov-09 20:31
professionalRajpootRohan16-Nov-09 20:31 
AnswerRe: Advanced search .... Pin
Amit Patel198516-Nov-09 20:31
Amit Patel198516-Nov-09 20:31 
AnswerRe: Advanced search .... Pin
sashidhar16-Nov-09 20:32
sashidhar16-Nov-09 20:32 
GeneralRe: Advanced search .... Pin
RajpootRohan16-Nov-09 21:38
professionalRajpootRohan16-Nov-09 21:38 
Hi,

I did that but every time result was all the products.
ALTER PROCEDURE [dbo].[ap_SearchProduct]
(
@productid nvarchar(100) = null,
@product_type nvarchar(100) = null,
@sh_desc nvarchar(4000) = null,
@weight float = null,
@length float = null,
@width float = null,
@height float = null
)

as

    SET NOCOUNT ON

    SELECT productid,sh_desc,price FROM PRODUCTS e
        WHERE
		(@productid IS NULL OR e.productid = @productid)
		OR (@product_type IS NULL OR e.product_type = @product_type)
		OR (@sh_desc IS NULL OR e.sh_desc = @sh_desc)
        OR (@weight IS NULL OR e.weight = @weight)
        OR (@length IS NULL OR e.length = @length)
        OR (@width IS NULL OR e.width = @width)
        OR (@height IS NULL OR e.height = @height)
return


cheers,
sneha

GeneralRe: Advanced search .... Pin
sashidhar16-Nov-09 21:45
sashidhar16-Nov-09 21:45 
GeneralRe: Advanced search .... Pin
sashidhar16-Nov-09 22:07
sashidhar16-Nov-09 22:07 
QuestionSession management Pin
Amit Patel198516-Nov-09 19:43
Amit Patel198516-Nov-09 19:43 
AnswerRe: Session management Pin
Christian Graus16-Nov-09 20:11
protectorChristian Graus16-Nov-09 20:11 
GeneralRe: Session management Pin
Amit Patel198516-Nov-09 20:27
Amit Patel198516-Nov-09 20:27 
GeneralRe: Session management Pin
Abhijit Jana16-Nov-09 20:31
professionalAbhijit Jana16-Nov-09 20:31 
Questionfull text search example implement in .net Pin
Member 287607116-Nov-09 19:42
Member 287607116-Nov-09 19:42 
AnswerRe: full text search example implement in .net Pin
Christian Graus16-Nov-09 20:11
protectorChristian Graus16-Nov-09 20:11 
QuestionRegular expression in asp.net Pin
Pankaj Saha16-Nov-09 18:42
Pankaj Saha16-Nov-09 18:42 
AnswerRe: Regular expression in asp.net Pin
OriginalGriff16-Nov-09 21:32
mveOriginalGriff16-Nov-09 21:32 
GeneralRe: Regular expression in asp.net Pin
Pankaj Saha16-Nov-09 23:31
Pankaj Saha16-Nov-09 23:31 
QuestionHow to get Hardware Information of Client PC? Pin
asfak.ur.rahman16-Nov-09 18:27
asfak.ur.rahman16-Nov-09 18:27 
AnswerRe: How to get Hardware Information of Client PC? Pin
Abhijit Jana16-Nov-09 18:54
professionalAbhijit Jana16-Nov-09 18:54 
GeneralRe: How to get Hardware Information of Client PC? Pin
asfak.ur.rahman17-Nov-09 14:14
asfak.ur.rahman17-Nov-09 14:14 
AnswerRe: How to get Hardware Information of Client PC? Pin
Abhishek Sur16-Nov-09 21:16
professionalAbhishek Sur16-Nov-09 21:16 
QuestionConverting date time to Thai calendar month Pin
meeram39516-Nov-09 18:00
meeram39516-Nov-09 18:00 
Questionsetting value of a control in ascx via aspx [modified] Pin
uglyeyes16-Nov-09 13:55
uglyeyes16-Nov-09 13:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.