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 sql command in ado net?
Explain how do you connect to sql server database without using sqlclient?
Define table relations?
What are the Data providers in ADO.Net?
What is openquery?
What are the important features of ado.net 2.0?
What is Data view?
Which name space is used to get assembly details?
What is a control toolbox?
How can we add/remove row's in "datatable" object of "dataset"?
What is ambient transaction?
What is XML serialization
What are the key events of sqlconnection class?
What is difference between datagridview and datagrid control in winforms?
Explain the differences between oledb sql server, oledbdotnet provider?