Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are dcl commands?

1015


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?

1035


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

1118


What is acid in ado.net?

1045


differences between ADO and ADO.NET

1086


What is the maximum pool size in ado.net connection string?

947


If we are not returning any records from the database, which method is to be used?

1331


Can datareader hold data from multiple tables?

1185


What is bubbled event can you please explain?

1055


List all the steps in order, to access a database through ado.net?

1089


What is ado.net in mvc?

934


What is the difference between ado.net and oledb?

956


What are different layers of ADO.Net?

1099


How do I delete a row from a DataTable?

1176


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

1023