<< < 21 22 23 24 25 26 27 28 29 30 31 > >>   Sort: Rank

How do you validate the controls in an ASP .NET page?
How do you validate the controls in an ASP .NET page? Using special validation controls that are meant for this. We have Range Validator, Email Validator.
2014-01-13, 1586👍, 0💬

What is view state?
What is view state? The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control
2014-01-13, 1588👍, 0💬

What is smart navigation?
What is smart navigation? The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed.
2014-01-10, 1583👍, 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, 1666👍, 0💬

How is .NET able to support multiple languages?
How is .NET able to support multiple languages? A language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. S...
2014-01-09, 1603👍, 0💬

How many languages .NET is supporting now?
How many languages .NET is supporting now? When .NET was introduced it came with several languages. VB.NET, C#, COBOL and Perl, etc. 44 languages are supported.
2014-01-09, 1626👍, 0💬

ASP.NET interview questions only (3)
ASP.NET interview questions only (3) 1. How does ASP page work? 2. How ASP.NET page works? 3. What are the contents of cookie? 4. How do you create a permanent cookie? 5. What is ViewState? What does the “EnableViewState” property do? Whay would I want it on or off? 6. Give an example of what ...
2014-01-08, 1610👍, 0💬

ASP.NET interview questions only (2)
ASP.NET interview questions only (2) 1. What is a static class? 2. What is static member? 3. What is static function? 4. What is static constructor? 5. How can we inherit a static variable? 6. How can we inherit a static member? 7. Can we use a static function with a non-static variable? 8. How can ...
2014-01-08, 1787👍, 0💬

ASP.NET interview questions only (1)
ASP.NET interview questions only (1) 1. Describe the difference between a Thread and a Process? 2. What is a Windows Service and how does its lifecycle differ from a .standard. EXE? 3. What is the maximum amount of memory any single process on Windows can address? Is this different than the maximum ...
2014-01-07, 1831👍, 0💬

When we go for html server controls and when we go for web server controls?
When we go for html server controls and when we go for web server controls? Server controls are a part of ASP.net. When a server control is used there will be an extra overhead on the server to create the control at runtime and accordingly set the values. HTML controls are static controls and are ea...
2014-01-07, 1529👍, 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, 1645👍, 0💬

What do you know about ADO.NET’s objects and methods?
What do you know about ADO.NET’s objects and methods? ADO.NET provides consistent access to data sources such as Microsoft SQL Server, as well as data sources exposed through OLE DB and XML. Data-sharing consumer applications can use ADO.NET to connect to these different data sources and retrieve...
2014-01-06, 1679👍, 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, 1751👍, 0💬

What should you do to store an object in a Viewstate?
What should you do to store an object in a Viewstate? Do serialization of convert the object to string
2014-01-03, 1647👍, 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, 1689👍, 0💬

Calculating Total Weight of Subtree
Subject: Calculating Total Weight of Subtree --- Category: ,1, --- Question Can you write a computer code for the following problem: Given a text file with 3 comma-delimited columns of all integers: 'id', 'parent' and 'weight'. Each line represents a node identified by 'id'. 'parent' refers to 'id' ...
2014-01-02, 3028👍, 0💬

What is Viewstate?
What is Viewstate? A server control’s view state is the accumulation of all its property values. In order to preserve these values across HTTP requests, ASP.NET server controls use this property, which is an instance of the StateBag class, to store the property values.
2014-01-01, 1763👍, 0💬

What are different methods of session maintenance in ASP.NET?
What are different methods of session maintenance in ASP.NET? 3 types: In-process storage. Session State Service. Microsoft SQL Server. In-Process Storage The default location for session state storage is in the ASP.NET process itself. Session State Service As an alternative to using in-process stor...
2014-01-01, 1816👍, 0💬

What is connection pooling and how do you make your application use it?
What is connection pooling and how do you make your application use it? Opening database connection is a time consuming operation. Connection pooling increases the performance of the applications by reusing the active database connections instead of create new connection for every request. Connectio...
2013-12-30, 1590👍, 0💬

How does output caching work in ASP.NET?
How does output caching work in ASP.NET? Output caching is a powerful technique that increases request/response throughput by caching the content generated from dynamic pages. Output caching is enabled by default, but output from any given response is not cached unless explicit action is taken to ma...
2013-12-30, 1701👍, 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, 1678👍, 0💬

What should one do to make class serializable?
What should one do to make class serializable? Answers1: To make a class serializable is to mark it with the Serializable attribute as follows. [Serializable] public class MyObject { public int n1 = 0; public int n2 = 0; public String str = null; }
2013-12-26, 1542👍, 0💬

What is serialization, how it works in .NET?
What is serialization, how it works in .NET? Serialization is when you persist the state of an object to a storage medium so an exact copy can be re-created at a later stage. Serialization is used to save session state in ASP.NET. Serialization is to copy objects to the Clipboard in Windows Forms Se...
2013-12-25, 1617👍, 0💬

What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why. Answers1: In a interface class, all methods are abstract without implementation where as in an abstract class some methods we can define concrete. In interface, no accessibility modifiers are a...
2013-12-25, 1672👍, 0💬

<< < 21 22 23 24 25 26 27 28 29 30 31 > >>   Sort: Rank