|
-
Nov 25th, 2009, 05:26 AM
#1
Thread Starter
Addicted Member
[RESOLVED] SQL Return Value
how can i return the number of records processed from an sql procedure wether it is a select or update/insert query and how can i receive it in the calling method in vb .net.
-
Nov 25th, 2009, 05:45 AM
#2
Re: SQL Return Value
If you call Fill or Update on a DataAdapter or ExecuteNonQuery on a Command, they will return the number of records affected.
-
Nov 25th, 2009, 05:50 AM
#3
Thread Starter
Addicted Member
Re: SQL Return Value
please help me with the syntax.
-
Nov 25th, 2009, 06:01 AM
#4
Re: SQL Return Value
Follow the Database FAQ link in my signature and you'll find various ADO.NET resources that can show you what to do.
-
Nov 25th, 2009, 06:13 AM
#5
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|