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...

what is Execute NOn Query?

Answer Posted / hanna mae

You can use ExecuteNonQuery to change the data in a database
without using a DataSet. Do this by executing UPDATE,
INSERT, or DELETE statements.

Although ExecuteNonQuery does not return any rows, output
parameters or return values that are mapped to parameters
are populated with data.

For UPDATE, INSERT, and DELETE statements, the return value
is the number of rows affected by the command. For all other
types of statements, and for rollbacks, the return value is -1.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1017


What is the full form of ado.net?

989


Describe briefly an ADO.NET Dataset ?

1091


How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

1037


Does entity framework use ado.net?

991


What does ole stand for in excel?

1152


What is the role of the dataset object in ado.net?

1111


What is an ADO.Net?

996


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

2037


Why is ADO.NET serialization slower than ADO ?

1055


How to copy the contents from one table to another table and how to delete the source table in ado.net?

1039


Can we connect two dataadapters to same data source using single connection at same time?

990


What is an example of ordinal data?

1146


Which is better entity framework or ado.net?

1052


How does ado.net work?

935