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

Does dapper use ado.net?

1016


What connected data?

958


What is the use of ADO.NET and XML web services?

1045


Explain all the classes those are used for database connections between sql server and asp.net?

1007


What is the difference in an abstract class and an interface?

1007


What are the methods of XML dataset object?

1026


What is sqldatasource?

927


How will you fill the gridview by using datatable object at runtime?

1052


What does adodb stand for?

1052


What is the difference between ado.net and entity framework?

1047


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

1136


What is data relation in ado.net?

1071


How do you implement locking concept for dataset?

994


Explain the difference between an ado.net dataset and an ado recordset?

1058


What is executenonquery ado.net?

928