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
Can we do database operations without using any of the ado.net objects?
What does adodb stand for?
What is a non query?
What is ado and rdo?
What are the features of ado.net?
What is a data control clerk?
What is serialization and de-serialization in .net? How can we serialize the dataset object?
What is a sqldataadapter?
What is the use of Dataview?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
What is concurrency? How will you avoid concurrency when dealing with dataset? (One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid the problem?)
What are dataproviders?
What is the full form of ado?
What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?
What are the Features and disadvantages of dataset