ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the difference between excute query and excute 
nonquery.?
 Question Submitted By :: Manoj150283
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between excute query and excute nonquery.?
Answer
# 1
excute nonquery :-- use when insert,update,delete will fire.

excute query:-- when non dml query is used.
 
Is This Answer Correct ?    12 Yes 1 No
Riddhi
 
  Re: What is the difference between excute query and excute nonquery.?
Answer
# 2
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 ?    5 Yes 0 No
Shreekant
 
 
 
  Re: What is the difference between excute query and excute nonquery.?
Answer
# 3
use ExecuteQuery with "select" query but we use Execute 
NonQuery with Update,insert and delete query.
 
Is This Answer Correct ?    4 Yes 0 No
Rina Baranwal
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
About Global .asax ? Satyam5
Difference between ADO.Net 1.1 and ADO.Net 2.0 ? Value-Labs1
What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?  1
One application have three forms for registration .submit button is at third form.after filling three forms only u have to click submit button.After clicking the submit button all the values in first,second& third form saved on sql server.how to handle this situation . TCS6
What is the difference between and ActiveX dll and control? Microsoft2
Explain what a diffgram is and a good use for one? Syntax-Softtech1
Your ASP.NET application displays sales data on a page. You want to improve performance by holding the page in memory on the server for one hour. You want to ensure that the page is flushed from memory after one hour, and that the page is re-created when the next request for the page is received. What should you do? A . Initialize a new instance of the Cache class in the Application.Start event handler. B . Initialize a new instance of the Timer class in the Page.Load event handler. C . Set the Duration attribute of the OutputCache directive in the page. D . In the Web.config file, set the timeout attribute of the sessionState element. Syntax-Softtech5
Hi , I am Basha. I am searching a job in dotnet.Plz tell me the order of page events in asp.net 2.0> plz send faq's related to c#.net,asp.net,sqlserver2000 etc. to my mail-id : bashask.ss@gmail.com Sapient4
Explain the scenario where we go for inpro and outpro session?  2
On what object is the transaction in ADO.NET focused on? a) The command object b) The DataSet object c) The Connection object d) The DataAdapter object Syntax-Softtech4
Difference between ISQL and OSQL??  1
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?  1
WHAT IS BOXING? HOW WE CAN USE IT? Seion-Infotech4
If cookies is disabled in client browser will session work ? Satyam3
What are different ASP.NET Web Forms with the technology different from though ASP (1.0-3.0)?  1
What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?  1
In the context of a comparison, what is object identity versus object equivalence?  1
How do you bind array to gridview? Will it works? HP4
How to consume a webservice in a windows application without adding through the web reference? 247Customer1
what is CLR? PrimeLine3
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com