Ask a Question related to ASP.NET General, Design and Development.
-
Matt #1
Waiting on Stored Procedures
We are creating an ASP.NET application where I would like to call a
SQL Server 2000 stored procedure and have the application wait until
the procedure is done to proceed. The stored procedure is performing
an INSERT statement and isn't returning a recordset. I'm looking for
any suggestions on how this could be done.
Thanks
Matt Guest
-
Stored Procedures
Hi all, I'm a little confused about how to obtain a result set from a stored procedure (stored in a Visual FoxPro 8.0 database) from an ASP.NET... -
Using Web Services for Stored Procedures?
Doug, Try creating a cfcomponent that has multiple cfproperty tags in it with the data you want to return. Then defined that CFC component as... -
dt_ Stored Procedures
Please could you tell me if it is safe to remove the dt_ stored procedures from my database? I have spent some time searching the web/groups for... -
New to ASP and Stored Procedures
Hi I have some experince with ASP and databases in General, however Stored Procedures are new. I need to call a stored procedure and have bene... -
Stored Procedures and 4GL
Hello, I am using Informix 7 se database. Is it possible to call a 4GL program from a stored procedure? Thanks Ahmer -
Ravikanth[MVP] #2
Waiting on Stored Procedures
Hi
You can use the ExecuteNonQuery which Executes a Transact-
SQL statement against the connection and returns the
number of rows affected
For UPDATE, INSERT, and DELETE statements, the return
value is the number of rows affected by the command. For
all other types of statements, the return value is -1. If
a rollback occurs, the return value is also -1.
HTH
Ravikanth
like to call a>-----Original Message-----
>We are creating an ASP.NET application where I wouldapplication wait until>SQL Server 2000 stored procedure and have theis performing>the procedure is done to proceed. The stored procedureI'm looking for>an INSERT statement and isn't returning a recordset.>any suggestions on how this could be done.
>
>Thanks
>.
>Ravikanth[MVP] Guest
-
Gary Varga #3
Waiting on Stored Procedures
Use the ExecuteNonQuery method on the Command.
like to call a>-----Original Message-----
>We are creating an ASP.NET application where I wouldapplication wait until>SQL Server 2000 stored procedure and have theis performing>the procedure is done to proceed. The stored procedureI'm looking for>an INSERT statement and isn't returning a recordset.>any suggestions on how this could be done.
>
>Thanks
>.
>Gary Varga Guest



Reply With Quote

