ASP.Net Interview Question and Answers

161. What is the differences between Server-side and Client-side code?
 
  • Server-side code executes on the server.
  • Client-side code executes in the client’s browser.
 
Your Name Your Email-ID
Your Answer
162. What is the difference between static or dynamic assemblies?
  Assemblies can be static or dynamic.

Static assemblies can include .NET Framework types (interfaces and classes), as well as resources for the assembly (bitmaps, JPEG files, resource files, and so on). Static assemblies are stored on disk in portable executable (PE) files.

Dynamic assemblies, which are run directly from memory and are not saved to disk before execution. You can save dynamic assemblies to disk after they have executed.
 
Your Name Your Email-ID
Your Answer
163. What are the difference between Structure and Class?
 
  • Structures are value type and Classes are reference type
  • Structures can not have constructor or destructors.
  • Classes can have both constructor and destructors.
  • Structures do not support Inheritance, while Classes support Inheritance.
 
Tilx,says Mar 13, 2014
Structures can have few constructors such a class, except the default constructor.
Your Name Your Email-ID
Your Answer
164. What is the differences between dataset.clone and dataset.copy?
  Dataset.clone copies just the structure of dataset (including all the datatables, schemas, relations and constraints.); however it doesn’t copy the data.
Dataset.copy, copies both the dataset structure and the data.
 
Your Name Your Email-ID
Your Answer
165. What is datagrid?
  The DataGrid Web server control is a powerful tool for displaying information from a data source. It is easy to use; you can display editable data in a professional-looking grid by setting only a few properties. At the same time, the grid has a sophisticated object model that provides you with great flexibility in how you display the data.
 
Your Name Your Email-ID
Your Answer