none
Stored Procedure Re-Write for ASP Page? RRS feed

  • Question

  • I have a stored procedure that was originally written to be a status update for Department head who ran queries from SSMS.  It is basically a bunch of queries and computations that instead of returning any tables, but uses PRINT commands to show various database statuses to the message window of the console.

    I want to migrate this to a web page.  I know the basics of using datasets and data grids to display table data, but there's no table data to be had from the stored procedure.  Is there a class available that can capture the text output of the procedure and just place it within the web page code?  Or am I looking at re-writing my code to output a table to use as variables in code?

    My preference would be to not change the code so that it can be executed from either location.




    Wednesday, November 21, 2018 6:14 PM

All replies

  • Hi AltairWolfe,

    Welcome to the MSDN forum.

    Refer to the description, your issue is about the ASP.Net development and our forum is to discuss the VS IDE.

    I found a document that may be give you some ideas, but for the detail development issues, please redirect to this appropriate forum: https://forums.asp.net/ to seek for a better support, thank you for your understanding.

    Best regards,

    Sara

    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Thursday, November 22, 2018 1:51 AM