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 / sireesha

ExecuteNonQuery() returns one one value. the return type of
ExecuteNonQuery is integer. It returns the value that are
effected by the executeNonQuery() statement.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is stored procedure used in ado.net?

1029


Which is faster ado.net or linq?

953


How to aggregating data across related tables?

974


Explain the difference between data reader and data set?

869


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

978


Can we do database operations without using any of the ado.net objects?

932


How do you connect to sql server database without using sqlclient?

1039


How to create data relations?

936


How can we save all data from dataset?

939


What is a dynaset in access?

1015


What are the different methods available under the sqlcommand class to access the data?

999


What is sql command in ado net?

906


What is the difference between ADO and ADO.Net?

1021


What is csdl entity framework?

970


What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?

1271