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

What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP? Web Forms are the heart and soul of ASP.NET. Web Forms are the User Interface (UI) elements that give your Web applications their look and feel. Web Forms are similar to Windows Forms in that they provide...
2014-01-21, 2200👍, 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, 2199👍, 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, 2196👍, 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, 2193👍, 0💬

How ASP .NET different from ASP?
How ASP .NET different from ASP? Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server.
2014-01-10, 2187👍, 0💬

How is a property designated as read-only?
How is a property designated as read-only? In VB.NET: Public ReadOnly Property PropertyName As ReturnType Get ‘Your Property Implementation goes in here End Get End Property in C# public returntype PropertyName { get{ //property implementation goes here } // Do not write the set implementation }
2014-02-07, 2185👍, 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, 2185👍, 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, 2185👍, 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, 2183👍, 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, 2182👍, 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, 2179👍, 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, 2179👍, 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, 2178👍, 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, 2176👍, 0💬

What is "Common Language Runtime" (CLR)?
What is "Common Language Runtime" (CLR)? CLR is .NET equivalent of Java Virtual Machine (JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It provides a number ...
2013-10-30, 2175👍, 0💬

What are the Types of Assemblies?
What are the Types of Assemblies? Assemblies are of two types: 1. Private Assemblies 2. Shared Assemblies Private Assemblies: The assembly is intended only for one application. The files of that assembly must be placed in the same folder as the application or in a sub folder. No other application wi...
2013-10-31, 2173👍, 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, 2172👍, 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, 2169👍, 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, 2168👍, 0💬

How do u call and execute a stored procedure in .NET?
How do u call and execute a stored procedure in .NET? system.Data; system.Data.SqlClient; SqlConnection sqCon = new SqlConnection(”connection string”); SqlCommand sqCmd = new SqCmd(); sqCmd.Connection = sqCon; sqCmd.CommandText = procedure_name; sqCmd.CommandType = CommandType.StoredProcedure;.. .
2014-11-14, 2166👍, 0💬

What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query t
What is one of the first things you would do to increase performance of a query? For example, a boss tells you that “a query that ran yesterday took 30 seconds, but today it takes 6 minutes”? Answer1. Use Storedprocedure for any optimized result, because it is an compiled code. Answer2. One of...
2014-10-10, 2165👍, 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, 2165👍, 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, 2162👍, 0💬

What are the disadvantages of viewstate/what are the benefits?
What are the disadvantages of viewstate/what are the benefits? Answer1: Disadvantage of viewstate is that additional data is sent to the browser. The benefits are that you do not have to manually manage refreshing the page fields after a submit, (when re-displaying the same page). Answer2: Automatic...
2014-02-11, 2162👍, 0💬

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