ADO.Net Questions - Part 2
-
How can we save all data from DataSet?
Dataset has AcceptChanges method which commits all the changes since last time AcceptChanges has been executed.
-
What are the .Net namespaces with the data functionality classes?
System.Data This namespace contains the basic objects used for accessing and storing relational data, such as DataSet, DataTable, and DataRelation. Each of these is independent of the type of data source and the type of the connection.
January 14, 2008 | Filed Under ADO.Net Questions | Leave a Comment.Net Interview Questions - 1
-
What is What is a IL (MSIL or CIL), JIT?
(IL) stands for Intermediate Language and is also known as MSIL (Microsoft Intermediate Language) or CIL (Common Intermediate Language). All .NET source code is compiled to IL. This IL is then converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.
-
What is a CTS?
In order that two language communicate smoothly CLR has CTS (Common Type System).Example: in VB you have “Integer” and in C++ you have "long" these datatypes are not compatible so the interfacing between them is very complicated. In order to able that two different languages can communicate Microsoft introduced Common Type System. So “Integer” datatype in VB6 and “int” datatype in C++ will convert it to System.int32 which is datatype of CTS. CLS which is covered in the coming question is subset of CTS.
January 14, 2008 | Filed Under .Net Interview Questions | Leave a Comment -
A lifecycle of ASP.Net 2.0 webpage
Describe the most important events of a lifecycle of ASP.Net 2.0 webpage
PreInit - Use this event for the following: