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 the difference between excute query and excute
nonquery.?

Answers were Sorted based on User's Feedback



What is the difference between excute query and excute nonquery.?..

Answer / riddhi

excute nonquery :-- use when insert,update,delete will fire.

excute query:-- when non dml query is used.

Is This Answer Correct ?    18 Yes 1 No

What is the difference between excute query and excute nonquery.?..

Answer / shreekant

execute qurey is used for a select statement
ex:"select * from employees";
execute nonquery is used when insert, update,delete statement.
ex:insert into employees values("yourrecirds");
delete from employees

Is This Answer Correct ?    10 Yes 0 No

What is the difference between excute query and excute nonquery.?..

Answer / rina baranwal

use ExecuteQuery with "select" query but we use Execute
NonQuery with Update,insert and delete query.

Is This Answer Correct ?    7 Yes 0 No

What is the difference between excute query and excute nonquery.?..

Answer / bhagwat prasad sharma

1)>>> when we insert data into database, delete data from database, update data from database than use ExecuteNonQuery
statement .
but when we select data from database than use ExecuteQuery
statement . that solves

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

“~” means in asp.net application?

4 Answers   IBS,


Which is the best institute for ASP.NET?

8 Answers   ABC Infotech, Tech Mahindra,


What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?

1 Answers   Infosys,


What are the validation controls available in ASP.NET?

0 Answers  


What is indexing on asp.net?

0 Answers  


To which class you load XML or Related Data

1 Answers  


How do you define authentication in Web.Config?

2 Answers   Accenture, BirlaSoft, IBM,


What is strong name and which tool is used for this?

4 Answers   Accenture,


Is it possible to use two versions of assembly at the same time?If possible explain with code?

3 Answers   Tech Mahindra,


How to convert a string into an Integer in ASP.net?

12 Answers  


in database table is thier . in that table fields are photoid , photoname,photo... i want display image in the gridview

5 Answers   TCS,


What is the use of web.config? Difference between machine.config and Web.config?

5 Answers  


Categories