Home
ASP.Net
Interview FAQs

All the .Net libraries you call within your code are not compiled into your assembly, and you need these assemblies in the destination machine, in order for it to run you need .Net Framework installed.\r\n

A program compiled in C# or VB is not a program in native code, it is a Pre-compilation in a Intermediate Language (MSIL). When you run this program the .Net Runtime, makes the final compilation to native code for the platform on which it is executed - this is called Just-In-Time compilation.

A typed dataset is very much similar to a normal dataset. But the only difference is that the sehema is already present for the same. Hence any mismatch in the column will generate compile time errors rather than runtime error as in the case of normal dataset. Also accessing the column value is much easier than the normal dataset as the column definition will be available in the schema.
When sending and retrieving a DataSet from an XML Web service, the DiffGram format is implicitly used. Additionally, when loading the contents of a DataSet from XML using the ReadXml method, or when writing the contents of a DataSet in XML using the WriteXml method, you can select that the contents be read or written as a DiffGram. For more information, see Loading a DataSet from XML and Writing a DataSet as XML Data. While the DiffGram format is primarily used by the .NET Framework as a serialization format for the contents of a DataSet, you can also use DiffGrams to modify data in tables in a Microsoft SQL Serverâ„¢ 2000 database.
The answer of this question is always Yes because XML is an important component of ADO.Net architecture. ADO.Net use XML to store and transfer data. We do not have to convert data to XML format. DataSets helps XML to integrate with ADO.Net. XML schema plays a role to get table definition, column, datatypes and constraints in the DataSet.
ADO uses binary serialization while ADO.Net uses text based serialization. Since the text takes more space, it takes longer to write it out.
To get read-only and forward only access to data we use DataReader. The DataReader object reduces the system overhead because one row at a time is taken into memory so it is quite lightweight. To get second object connection is reconnected. We can create a DataReader object by Execute Reader() method. There are two Data Reader class one is SqlDataReader and other one is OleDbDataReader.
The ASP.Net State Service is an out-of-process, memory based session management service that is intended to be used when data stored in session is easy to recreate or is not critical.
PreviousDisplaying 5 of 46Next
Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*