Execute nonquery returns no. of afected rows.So if my stored
procedure hav lot of select stmnt, delete stmnt, insert
stmnt..then what does execute nonquery returns in this case?
Answer Posted / sireesha
ExecuteNonQuery() returns one one value. the return type of
ExecuteNonQuery is integer. It returns the value that are
effected by the executeNonQuery() statement.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How do I delete a row from a DataTable?
What are the rules to implement connection pooling?
What is ole2 format?
Is bulk insert faster than insert?
What is serialization and de-serialization in .net?
What do you mean by ‘batch updates’?
Define connection string?
Give an example that shows how to execute a stored procedure in ado.net?
Which provider is used to connect ms access, oracle, etc…?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
What are the parameters that control most of connection pooling behaviors?
What is the use of Dataview?
how Sequence to connect and retrieve data from database using dataset?
Which object needs to be closed?
Give an example of a .net application which connects to microsoft access database using ado.net classes.