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
What is data access pattern?
What are the ado.net components?
Explain how can we load multiple tables in to dataset?
What is ole access?
What is sqlconnection and sqlcommand?
What are typed and untyped dataset?
What are the advantages using ado.net?
How we can provide data to ado.net?
What is the difference between OLEDB Provider and SqlClient?
What is the difference between sqldatareader and sqldataadapter?
What is openquery?
Explain the two fundamental objects in ado.net?
Can we connect two dataadapters to same data source using single connection at same time?
Explain sqlconnection object?
What is the current version of entity framework?