<< < 34 35 36 37 38 39 40 41 > >>   Sort: Date

Name atleast two methods of response object other than Transfer.
Name atleast two methods of response object other than Transfer. a) Response.ClearContent( ) Clears the content of the current output stream. b) Response.ClearHeaders( ) Clears the HTTP headers from the current output stream.
2014-10-01, 1857👍, 0💬

How do you declare a static variable and what is its lifetime? Give an example.
How do you declare a static variable and what is its lifetime? Give an example. Answer1 static int Myint–The life time is during the entire application. br> Answer2 The static modifier is used to declare a static member, which belongs to the type itself rather than to a specific object. The stati...
2014-09-11, 1857👍, 0💬

Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically?
Before in my VB app I would just load the icons from DLL. How can I load the icons provided by .NET dynamically? By using System.Drawing.SystemIcons class, for example System.Drawing.SystemIcons.War ningproduces an Icon with a warning sign in it.
2013-11-25, 1857👍, 0💬

What’s a proxy of the server object in .NET Remoting?
What’s a proxy of the server object in .NET Remoting? It’s a fake copy of the server object that resides on the client side and behaves as if it was the server. It handles the communication between real server object and the client object. This process is also known as marshaling.
2013-11-11, 1857👍, 0💬

What is Serialization in .NET?
What is Serialization in .NET? Anwer1 The serialization is the process of converting the objects into stream of bytes. they or used for transport the objects(via remoting) and persist objects(via files and databases) Answer2 When developing smaller applications that do not have a database (or other ...
2013-12-02, 1855👍, 0💬

Differences between Datagrid, Datalist and Repeater?
Differences between Datagrid, Datalist and Repeater? 1. Datagrid has paging while Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (This is of great help in designing layouts). This is not there in Datagrid. 3. A repeater is used when more intimate control ...
2013-11-20, 1855👍, 0💬

What’s the use of System.Diagnostics.Process class?
What’s the use of System.Diagnostics.Process class? By using System.Diagnostics.Process class, we can provide access to the files which are presented in the local and remote system. Example: System.Diagnostics.Process(” c:\mlaks\example.txt”)— local file System.Diagnostics.Process(” ...
2013-12-02, 1854👍, 0💬

How do you define an integer in SQL Server?
How do you define an integer in SQL Server? We define integer in Sql server as var_name int
2014-09-17, 1851👍, 0💬

State True or False: Any ODBC-compliant database can be accessed through ASP.NET: * True or * False
State True or False: Any ODBC-compliant database can be accessed through ASP.NET: * True or * False True
2014-07-11, 1851👍, 0💬

Explain what relationship is between a Process, Application Domain, and Application?
Explain what relationship is between a Process, Application Domain, and Application? Each process is allocated its own block of available RAM space, no process can access another process’ code or data. If the process crashes, it dies alone without taking the entire OS or a bunch of other applicat...
2013-11-08, 1851👍, 0💬

If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-pr
If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-provided calendar control, how do you develop it? Do you copy and paste the code into each and every page of your application? Create the Calendar User Control The control we...
2014-09-19, 1847👍, 0💬

Describe the difference between a Thread and a Process?
Describe the difference between a Thread and a Process? Answer1: Thread - is used to execute more than one program at a time. process - executes single program Answer2: A thread is a path of execution that run on CPU, a proccess is a collection of threads that share the same virtual memory. A proces...
2014-02-14, 1845👍, 0💬

What’s Singleton activation mode?
What’s Singleton activation mode? A single object is instantiated regardless of the number of clients accessing it. Lifetime of this object is determined by lifetime lease.
2013-11-15, 1842👍, 0💬

Which is the correct statement to set the alias name for namespace in C#?
Which is the correct statement to set the alias name for namespace in C#? Which is the correct statement to set the alias name for namespace in C#? * using System Data.OracleClient = aliasName; * using aliasName = System.Data.OracleClient; * string aliasName = using.System.Data.OracleClient ;* Both ...
2014-07-28, 1841👍, 0💬

What are the authentication methods in .NET?
What are the authentication methods in .NET? There are 4 types of authentications. 1.WINDOWS AUTHENTICATION 2.FORMS AUTHENTICATION 3.PASSPORT AUTHENTICATION 4.NONE/CUSTOM AUTHENTICATION The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as sho...
2013-11-26, 1839👍, 0💬

What is the STUFF function and how does it differ from the REPLACE function?
What is the STUFF function and how does it differ from the REPLACE function? Answer1: stuff-&gt; inserts into it without removing any thing. Replace-&gt;replace the given text with the new one. Answer2: STUFF - it deletes a specified length of characters and inserts another set of characters...
2014-10-13, 1835👍, 0💬

What will be output for the given code?
What will be output for the given code? What will be output for the given code? Dim I as integer = 5 Do I = I + 2 Response.Write (I &amp; " ") Loop Until I &gt; 10 * 5 8 * 5 7 9 * 7 9 11 * Errors out 7 9 11 (if corrected)
2014-09-02, 1833👍, 0💬

Where do you store the information about the user’s locale?
Where do you store the information about the user’s locale? System.Web.UI.Page.Culture
2014-03-05, 1833👍, 0💬

Why The JavaScript Validation Not Run on the Asp.Net Button But Run SuccessFully On The HTML Button
Why The JavaScript Validation Not Run on the Asp.Net Button But Run SuccessFully On The HTML Button The Asp.Net Button Is post backed on the server & not yet Submit & when It goes to the server its states is lost So if we r using javascript in our application so we always use the Input Butto...
2013-12-16, 1833👍, 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, 1830👍, 0💬

What is namespaces?
What is namespaces? It is a logical group of related classes and interfaces and that can be used byany language targeting the .net framework.
2013-12-06, 1830👍, 0💬

How to manage pagination in a page?
How to manage pagination in a page? Using pagination option in DataGrid control. We have to set the number of records for a page, then it takes care of pagination by itself.
2013-10-02, 1828👍, 0💬

How to find the SQL server version from Query Analyser
How to find the SQL server version from Query Analyser Answer1 To determine which version of Microsoft SQL Server 2005 is running, connect to SQL Server 2005 by using SQL Server Management Studio, and then run the following Transact-SQL statement: SELECT SERVERPROPERTY(’productversi on’),SERVE...
2014-10-08, 1826👍, 0💬

State True or False: Static method cannot be overridden: * True or * False
State True or False: Static method cannot be overridden: * True or * False True
2014-06-20, 1821👍, 0💬

<< < 34 35 36 37 38 39 40 41 > >>   Sort: Date