Welcome, Guest Ohm namah shivoy
www.faqpanel.com
Home | ASP.Net | C-Sharp | Winforms | MS SQL | AJAX | XML | .Net Training*** | Search
Invite friends 
Extras 
VS Tips & Tricks
Top 10 .Net Tools
Special folders in ASP.Net
VS Find Combobox
 ASP.Net Interview Questions and Answers
What is the difference between ExecuteQuery() and ExecuteNonQuery()?
ExecuteQuery : Executes SQL queries directly on the database. It has two overlaoded method:

1. DataContext.ExecuteQuery(TResult)(String, Object[]) - Executes SQL queries directly on the database and returns objects.
2. ExecuteQuery(Type, String, object[]) - Executes SQL queries directly on the database.

ExecuteNonQuery : Use for data manipulation, such as Insert, Update, Delete.

For more details visit : http://msdn.microsoft.com/en-us/library/system.data.linq.datacontext.executequery.aspx
How do you define the lease of the object?
Explain the three services model commonly know as a three-tier application.
What is the significance of CommandBehavior.CloseConnection?
Where is global assembly cache located on the system?
What is Repeater Control in ASP.Net?
What is the default CommandTimeOut to wait for the command to execute in ASP.Net?
What is validationsummary server control? where it is used?
What are advantages and disadvantages of Microsoft-provided data provider classes in ADO.Net?
Is XML case-sensitive?
How do you secure your configuration files to be accessed remotely by unauthorized users?