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 / pankaj shinde

Total number of rows effected.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?)

577


what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?

534


What is ado code?

496


Difference between sqlcommand and sqlcommandbuilder?

576


What is the current version of entity framework?

476






What is commandbuilder in ado.net?

522


What are the differences between OLEDB and SQLClient Providers?

559


How to maintain the relation between two tables in ADO.NET?

536


What is openquery?

527


What is the difference between dataset and datatable?

480


What does executenonquery () method return?

498


What is data access pattern?

491


What is difference between dataset and datatable?

511


What is the use of data grid?

488


How to work with disconnected data - the dataset and sqldataadapter?

500