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

Explain the advantages of passport authentication.

0 Answers  


What is cyclomatic complexity and why is it important?

1 Answers  


Distinguish between Server-side and Client-side code with its functionality?

0 Answers   Siebel,


What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?

0 Answers  


If i have a page where i create an instance of a dll and without invoking any method can I send values to next page ?

1 Answers   Satyam,


How to implement Authentication and Authorization?

0 Answers   QuestPond,


How do you secure your connection string information?

0 Answers  


What is Model-View-View Model?

0 Answers   MCN Solutions,


How to find last error which occurred?

0 Answers  


How is a property designated as read-only?

2 Answers  


detail code for sql data connections?

2 Answers  


What is query string?

0 Answers  


Categories