<< < 146 147 148 149 150 151 152 153 154 155 156 > >>   Sort: Date

How are this () and super () used with constructors?
How are this () and super () used with constructors? this() is used to invoke a constructor of the same class. super() is used to invoke a superclass constructor.
2012-12-26, 2144👍, 0💬

Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRL
Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? Which of the following DOT.NET tools manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs)? * sn.exe * certnet.exe * certmgr.exe...
2014-03-17, 2143👍, 0💬

How does a try statement determine which catch clause should be used to handle an exception?
How does a try statement determine which catch clause should be used to handle an exception? When an exception is thrown within the body of a try statement, the catch clauses of the try statement are examined in the order in which they appear. The first catch clause that is capable of handling the e...
2013-06-15, 2142👍, 0💬

Creating a Key Pair?
Creating a Key Pair? You can create a key pair using the Strong Name tool (Sn.exe). Key pair files usually have an .snk extension. To create a key pair At the command prompt, type the following command: sn k In this command, file name is the name of the output file containing the key pair. The follo...
2013-10-24, 2140👍, 0💬

How can printf use f for type double, if scanf requires lf?
Someone told me it was wrong to use %lf with printf. How can printf use %f for type double, if scanf requires %lf? It's true that printf's %f specifier works with both float and double arguments Due to the ``default argument promotions'' (which apply in variable-length argument lists values of type ...
2015-11-06, 2139👍, 0💬

What is Delegate and what is it used for ?
What is Delegate and what is it used for ? Delegate is kinda like a pointer to a function in C++ or like an event handler in Java You can use it to “multicast” which means running multiple functions in different instances of object already created. This is useful when you want your objects to...
2013-12-20, 2138👍, 0💬

How can be the web application get configured with the following authorization rules ...
How can be the web application get configured with the following authorization rules ... How can be the web application get configured with the following authorization rules * Anonymous users must not be allowed to access the application. * All persons except David and John must be allowed to access...
2014-08-29, 2134👍, 0💬

What is the difference between ......
Q: What's the difference between const MAXSIZE = 100; and #define MAXSIZE 100 A preprocessor #define gives you a true compile-time constant. In C, const gives you a run-time object which you're not supposed to try to modify; ``const'' really means ``readonly''.
2015-12-22, 2131👍, 0💬

What is the purpose of using COLLATE in a query?
What is the purpose of using COLLATE in a query? Answer1. Collation refers to a set of rules that determine how data is sorted and compared. Character data is sorted using rules that define the correct character sequence, with options for specifying case-sensitivity, accent marks, kana character typ...
2014-10-10, 2130👍, 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...
2013-09-27, 2128👍, 0💬

What is the Differnce Between Response.write & response.output.Write
What is the Differnce Between Response.write & response.output.Write In ASP.NET the Response object is of type HttpResponse and when you say Response.Write you’re really saying (basically) HttpContext.Current.Response.W riteand calling one of the many overloaded Write methods of HttpResponse....
2013-12-24, 2127👍, 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, 2123👍, 0💬

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, 2123👍, 0💬

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, 2117👍, 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💬

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, 2111👍, 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💬

Can we force Garbage collection?
Can we force Garbage collection? java follows a philosophy of automatic garbage collection, you can suggest or encourage the JVM to perform garbage collection but you can not force it. Once a variable is no longer referenced by anything it is available for garbage collection. You can suggest garbage...
2013-03-22, 2100👍, 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💬

<< < 146 147 148 149 150 151 152 153 154 155 156 > >>   Sort: Date