How To Get Records and Return Value from Stored Procedure Using DTCs (192666)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
This article was previously published under Q192666 SUMMARY
If you have a stored procedure that returns a recordset and has a RETURN
coded in it that you want to also capture, you can use the recordset Design-
time control (DTC) to connect to the procedure, and the Grid DTC to display
the data.
The sample described in this article will allow a user to enter a
percentage (integer) into a textbox and click a button. The value from the
textbox will be passed to the Recordset DTC, where it will populate a Grid
with the resulting records. The return value will also be displayed.
However, you would most likely use the value to determine a course of
action and not display it.
This sample can be done using either server-side Active Server Pages (ASP)
Javascript or VBScript.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbCtrl kbhowto kbStoredProc KB192666 |
---|
|