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

How do I delete a row from a DataTable?

1166


What are the rules to implement connection pooling?

1069


What is ole2 format?

904


Is bulk insert faster than insert?

921


What is serialization and de-serialization in .net?

935


What do you mean by ‘batch updates’?

1045


Define connection string?

1069


Give an example that shows how to execute a stored procedure in ado.net?

1072


Which provider is used to connect ms access, oracle, etc…?

1003


what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?

1019


What are the parameters that control most of connection pooling behaviors?

1010


What is the use of Dataview?

1133


how Sequence to connect and retrieve data from database using dataset?

1295


Which object needs to be closed?

2261


Give an example of a .net application which connects to microsoft access database using ado.net classes.

1151