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
Which database is the ado.net?
Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?
List the 4 common ado.net namespaces?
Explain how do you connect to sql server database without using sqlclient?
What are the different layers of ado.net?
What are typed and untyped dataset?
What is ado code?
What is an ADO.Net?
What are the different ado.net namespaces?
Define the data provider classes that is supported by ado.net?
What are ado.net objects?
How is it possible to get 2 tables of data at a time by using data reader?
What do you mean by performing asynchronous operation using command object?
Explain what is datagrid with an example?
What are the ado.net objects?