Office Document APIs for .NET
ITIL Career Advice
PMP Career Advice
Android Intel XDK
Welcome Guest !
Exclusive Interview Home
The return type for ExecuteNonQuery() is ______________
on 8/5/2010 | Category:
C# Interview questions
| Views: 7374
Select from following answers:
The return type for ExecuteNonQuery() is void as ExecuteNonQuery() is used for execution of those statements which do not return any data from backend to frontend.
Show Correct Answer
Many Interviews |
< Previous question :
The return type of ExecuteScalar() Method is _____ ...
Next question > :
Can we have multiple .config files along with App. ...
Comments or Responses
Hi, in the below link:
they had mentioned that the return type of ExecuteNonQuery is int type, but as far as my knowledge action queries returns number of rows affected.
Could you please explain me the correct answer. (return type is void or int.)
ExecuteNonQuery Return type is INT32.
for more info see the link:http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlcommand.executenonquery.aspx
Login to post response
More Interview Questions
Can we have multiple .config files along with App.Config file???
@@Identity contains last identity value over given connection. Yes/No
How can we specify port number in Connection String in App.Config file ...
Why is DataSet slower than DataReader?
What are the important methods of an SqlDataReader object?
Which method of command object is used to prepare the execution of par ...
Which one of the following is preferred in fetching data from sqldatar ...
what are the different constructors of command object?