Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Help Again about storedProcedure ,,, i hope someone help me
Old 02-12-2009, 01:39 PM Help Again about storedProcedure ,,, i hope someone help me
Average Talker

Posts: 21
Name: Hesham
Location: Ismailia , EGYPT
Trades: 0
i try to find out the problem by my self but i cant i hope somebody help me

here my storedprocedure

ALTER PROCEDURE GetEmployee
@EmployeeID
Int
AS
SELECT
FirstName,LastName,TitleOfCourtesy
FROM Employees WHERE EmployeeID = @EmployeeID


RETURN


am try to excute it and its gives me this message

Running [dbo].[GetEmployee] ( @EmployeeID = <DEFAULT> ).
Procedure or Function 'GetEmployee' expects parameter '@EmployeeID', which was not supplied.
No rows affected.
(0 row(s) returned)
@RETURN_VALUE =
Finished running [dbo].[GetEmployee].

am try to bind a DetailsView by ObjectDatasource from Class incluse the GetEmployee() Method and this method gives me error on the line i declared the variable that hold the data from the stored procedure thats all if you need more explain tell me ok thanks anyway
blue_way2002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Help Again about storedProcedure ,,, i hope someone help me
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08220 seconds with 12 queries