|
-
Dec 17th, 2003, 03:56 PM
#1
Thread Starter
Hyperactive Member
when should we use "executenonquery"
which is the right scenario when i should be using "Executenonquery"?
I am aware of the fact that it will not not return any records but only number of records affected.
thanks
nath
-
Dec 17th, 2003, 04:08 PM
#2
Generally its on UPDATE, INSERT, or DELETE queries.
-
Dec 17th, 2003, 08:43 PM
#3
Fanatic Member
Yes, when you don't care about what the Procedure does except maybe the # rows affected (like E said, usually on Insert, Update, Del). Quite useful.
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
|