StoredProcedureName_Result not found

Solution

If your stored procedure i returning just a column or more than 1 columns and not returning the ID column that is the primary key, this error would occur. Just include ID or * in select statement e.g.

ALTER PROCEDURE [dbo].[sp_FillMenuItems] 
AS
 BEGIN
SELECT * from t_Menu
End

OR

ALTER PROCEDURE [dbo].[sp_FillMenuItems] 
AS
BEGIN
SELECT ID, Menu_Item from t_Menu
END

Your issue will be resolved 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at WordPress.com.

Up ↑

Create your website at WordPress.com
Get started
%d bloggers like this: