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

Which database is the ado.net?

924


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

1103


List the 4 common ado.net namespaces?

1092


Explain how do you connect to sql server database without using sqlclient?

949


What are the different layers of ado.net?

1024


What are typed and untyped dataset?

1058


What is ado code?

915


What is an ADO.Net?

934


What are the different ado.net namespaces?

1021


Define the data provider classes that is supported by ado.net?

925


What are ado.net objects?

1024


How is it possible to get 2 tables of data at a time by using data reader?

913


What do you mean by performing asynchronous operation using command object?

980


Explain what is datagrid with an example?

1047


What are the ado.net objects?

895