It won't kick up an error but it'll just return a value of 0 each time...
Main Topics
Browse All TopicsI basically need another set of eyes on this because I'm going bonkers trying to see something too simple. I'm sure it's an easy answer but I can't see it at the moment.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
not need to change anything in your asp.net source code, you need to change your store procedures.
Your store procedure only got 1 parameter, but you pass 2 parameters from .net code.
It should be like this in your SP.
-- start of SP
CREATE Procedure GetProductName
(
@ID int,
@BriefDescription varchar(255) output
)
AS
SELECT
@BriefDescription = BriefDescription
FROM
psiProducts
WHERE
ID = @ID
AND
VisibleToRetail = 1
GO
-- end of SP
When I run this query in SQL Server, it works:
SELECT BriefDescription
FROM psiProducts
WHERE (ID = 184) AND (VisibleToRetail = 1)
The code I'm pasting to you is the exact code I'm using in VS & SQL 2k
Do you know what needs to be corrected? Your answers are too jumbled up and I can't figure out what you're saying...
Business Accounts
Answer for Membership
by: aiklamhaPosted on 2008-05-13 at 17:07:58ID: 21560292
replace
Direction = ParameterDirection.Output
Direction= ParameterD irection.R eturnValue
parameterBriefDescription.
with
parameterBriefDescription.