Just starting to learn ASP.NET (C#) and I am using Visual Studio 2008.
I have a stored procedure:
ALTER PROCEDURE dbo.StoredProcedure1
AS
SET NOCOUNT ON
SELECT MAX(issue_id) FROM tableb as max_issue_id
RETURN
Which is linked to a sqlDataSource.
How do I retrieve the value from the stored procedure by using the sqlDataSource? Ideally I would like to assign this value to a variable/textbox/label.