<< < 26 27 28 29 30 31 32 33 34 35 36 > >>   Sort: Date

Is string a value type or a reference type?
Is string a value type or a reference type? Answer1: String is Reference Type. Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short,strut, uint, ulong, ushort Value types are stored in the Stack Reference type - class, delegate, interface, object, string Reference ty...
2014-02-27, 2120👍, 0💬

What is Task?
What is Task? Whenever you execute a program, the operating system creates a new task for it. The task is like an envelope for the program: it identifies the program with a task number and attaches other bookkeeping information to it.
2014-11-03, 2118👍, 0💬

Explain DataSet.AcceptChanges and DataAdapter.Update methods.
Explain DataSet.AcceptChanges and DataAdapter.Update methods. DataAdapter.Update method Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet. DataSet.AcceptChanges method Commits all the changes made to this row since the last time Accep...
2014-01-06, 2112👍, 0💬

Explain how Viewstate is being formed and how it’s stored on client.
Explain how Viewstate is being formed and how it’s stored on client. The type of ViewState is System.Web.UI.StateBag, which is a dictionary that stores name/value pairs. ViewState is persisted to a string variable by the ASP.NET page framework and sent to the client and back as a hidden variable....
2014-01-03, 2112👍, 0💬

Can any object be stored in a Viewstate?
Can any object be stored in a Viewstate? An object that either is serializable or has a TypeConverter defined for it can be persisted in ViewState
2014-01-02, 2110👍, 0💬

What will be the output of the following code snippet?
What will be the output of the following code snippet? What will be the output of the following code snippet? using System; class MainClass { static void Main( ) { new MainClass().Display( 3.56 ); } private void Display( float anArg ) { Console.Write( “{0} {1}”, anArg.GetType(), anArg ); } dou...
2014-09-02, 2108👍, 0💬

A valid comment block in ASP.NET is ...
A valid comment block in ASP.NET is ... A valid comment block in ASP.NET is * &lt;!- - - Comment - - - > * &lt;!- - Comment - - > * &lt;% - - Comment - - %> * &lt;% ! - - Comment - - > &lt;% - - Comment - - %>
2014-08-18, 2105👍, 0💬

How do you separate business logic while creating an ASP.NET application?
How do you separate business logic while creating an ASP.NET application? There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging enable the trace to true in the line in the html format of the page. %@ Page Language=”vb” trace=”tr...
2014-09-17, 2103👍, 0💬

Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table.
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table. Answer1. a. Select count(*) from table1 b. SELECT object_name(id) ,rowcnt FROM sysindexes WHERE indid IN (1,0) AND OBJECTPROPERTY(id, ‘IsUserTable’) = 1 c. exec sp_table_validation @table = â...
2014-10-08, 2099👍, 0💬

Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset? In ADO, the in-memory representation of data is the recordset. In ADO.NET, it is the dataset. There are important differences between them. * A recordset looks like a single table. If a recordset is to contain data from ...
2014-01-20, 2099👍, 0💬

ASP.NET Authentication Providers and IIS Security
ASP.NET Authentication Providers and IIS Security ASP.NET implements authentication using authentication providers, which are code modules that verify credentials and implement other security functionality such as cookie generation. ASP.NET supports the following three authentication providers: Form...
2013-11-01, 2099👍, 0💬

What exactly is being serialized when you perform serialization?
What exactly is being serialized when you perform serialization? The object’s state (values)
2013-12-26, 2098👍, 0💬

Using ActiveX Control in .Net
Using ActiveX Control in .Net ActiveX control is a special type of COM component that supports a User Interface. Using ActiveX Control in your .Net Project is even easier than using COM component. They are bundled usually in .ocx files. Again a proxy assembly is made by .Net utility AxImp.exe (which...
2013-10-04, 2096👍, 0💬

How would you implement inheritance using VB.NET/C#?
How would you implement inheritance using VB.NET/C#? When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the .NET system class library framework, it may be pa...
2014-01-23, 2094👍, 0💬

How is meant by DLL ?
How is meant by DLL ? A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it’s an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatical...
2013-12-20, 2094👍, 0💬

What is "Common Language Specification" (CLS)?
What is "Common Language Specification" (CLS)? CLS is the collection of the rules and constraints that every language (that seeks to achieve .NET compatibility) must follow. It is a subsection of CTS and it specifies how it shares and extends one another libraries.
2013-10-30, 2094👍, 0💬

How can you automatically generate interface for the remotable object in .NET with Microsoft tools?
How can you automatically generate interface for the remotable object in .NET with Microsoft tools? Use the Soapsuds tool.
2013-11-18, 2093👍, 0💬

Explain the differences between Server-side and Client-side code?
Explain the differences between Server-side and Client-side code? Server side scripting means that all the script will be executed by the server and interpreted as needed. ASP doesn’t have some of the functionality like sockets, uploading, etc. For these you have to make a custom components usual...
2014-01-15, 2092👍, 0💬

Bitwise OR operator in C# is ...
Bitwise OR operator in C# is ... Bitwise OR operator in C# is * OR * || * | * XOR Answer1: || Answer2: |
2014-03-24, 2091👍, 0💬

What is boxing?
What is boxing? Boxing is an implicit conversion of a value type to the type object int i = 123; // A value type Object box = i // Boxing Unboxing is an explicit conversion from the type object to a value type int i = 123; // A value type object box = i; // Boxing int j = (int)box; // Unboxing
2014-02-27, 2090👍, 0💬

What can be achieved in IL which is not possible in C# ?
What can be achieved in IL which is not possible in C# ? What can be achieved in IL which is not possible in C# ? * Creation of an ArrayList * Creation of a Dictionary * Creation of a two dimensional array * Creation of a non-zero based array Answer1: Creation of a dictionary Answer2: Creation of a ...
2014-06-12, 2089👍, 0💬

What is the base class of Button control?
What is the base class of Button control? Listing from visual studio .net &gt; Button Class System.Object System.MarshalByRefObject System.ComponentModel.Componen tSystem.Windows.Forms.Control System.Windows.Forms.ButtonBas eSystem.Windows.Forms.Button
2013-12-11, 2085👍, 0💬

How can you deploy an asp.net application ?
How can you deploy an asp.net application ? You can deploy an ASP.NET Web application using any one of the following three deployment options. a) Deployment using VS.NET installer b) Using the Copy Project option in VS .NET c) XCOPY Deployment
2014-09-19, 2083👍, 0💬

What tag do you use to add a hyperlink column to the DataGrid?
What tag do you use to add a hyperlink column to the DataGrid? Depends on who’s definition of hyperlink your using. Manually a std html anchor tag (a) will work or you can use the micro-magical tag
2014-02-12, 2083👍, 0💬

<< < 26 27 28 29 30 31 32 33 34 35 36 > >>   Sort: Date