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 / suresh reddy
returns -1, since you can't find the how many rows effected because of your stored procedure.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is sqldatasource?
Where is adodb dll located?
how we can fire event in databound coulm in datagfrid withot using button?
What are the data access namespaces in .NET?
What is the functionality of data provider in ado.net?
How to retrieve the user id which is provided while windows authentication?
What is the difference between executenonquery () and executescalar ()?
What are all the commands used with Data Adapter?
What is openquery?
What are the main differences between classic ado and ado.net?
What are the important features of ado.net 2.0?
What is difference between Dataview and Datatable?
What is different between sqlcommand object and command behavior object?
What is XML serialization
What is sqldatareader in ado.net?