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

What is the difference between an ADO.NET Dataset and an ADO Recordset?

1042


How does entity framework work?

922


What are the benefits of ADO.NET?

1121


What is typed dataset ?

1183


What are the ado.net connection pooling parameters?

983


What are the steps you will take to improve performance? Will you use dataset or datareader?

994


Which method in OLEDBAdapter is used to populate dataset with records?

1025


What is ole db query?

989


What is openrowset?

983


How do you implement locking concept for dataset?

996


How do you merge 2 datasets into the third dataset in a simple manner?

994


What is sqldatasource?

929


What are the data providers used in ado.net

1021


What is partial class?

984


What is data relation in ado.net?

1073