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 ado asp?
What is datatable in ado.net?
Which is faster dataset or datareader?
What is shadow copy?
What is DataRowCollection?
How to add a check box or a dropdown list to a column in a datagrid?
What is command class in ado.net?
What is difference between executequery and executeupdate?
Which control of the BindingNavigator returns the current position within the data source?
Which method in OLEDBAdapter is used to populate dataset with records?
What is dataset and datatable in ado.net?
What is basic use of data view?
Explain the difference between sqlcommand object and command behavior object?
What is adodb dll?
how we can fire event in databound coulm in datagfrid withot using button?