<< < 148 149 150 151 152 153 154 155 156 157 158 > >>   Sort: Date

what is the difference between user control an custom control? advantages/disadvantages?
what is the difference between user control an custom control? advantages/disadvantages? Web user controls Vs Web custom controls Easier to create Vs Harder to create Limited support for consumers who use a visual design tool Vs Full visual design tool support for consumers A separate copy of the co...
2013-12-17, 1649👍, 0💬

Contrast the use of an abstract base class against an interface?
Contrast the use of an abstract base class against an interface? Answer1: In the interface all methods must be abstract, in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes Answer2: Wether to Choose VB.NET/C#. B...
2014-02-25, 1648👍, 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, 1648👍, 0💬

What’s the difference between Response.Write() andResponse.Output.Write()?
What’s the difference between Response.Write() andResponse.Output.Write()? Response.Output.Write() allows you to write formatted output
2013-12-17, 1648👍, 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, 1646👍, 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, 1645👍, 0💬

Explain what a diffgram is, and a good use for one?
Explain what a diffgram is, and a good use for one? A DiffGram is an XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection. Whe...
2014-01-24, 1644👍, 0💬

How can I read a single character from the keyboard without waiting for the RETURN key?
How can I read a single character from the keyboard without waiting for the RETURN key? How can I stop characters from being echoed on the screen as they're typed? Alas, there is no standard or portable way to do these things in C. Concepts such as screens and keyboards are not even mentioned in the...
2015-04-29, 1642👍, 0💬

What is an assembly?
What is an assembly? An assembly is the primary building block of a .NET Framework application. It is a collection of functionality that is built, versioned, and deployed as a single implementation unit (as one or more files). All managed types and resources are marked either as accessible only with...
2013-11-05, 1642👍, 0💬

Pick the command line that would result in the C# compiler generating an XML documentation file ...
Pick the command line that would result in the C# compiler generating an XML documentation file ... Pick the command line that would result in the C# compiler generating an XML documentation file * csc /doc:NewHome.xml NewHome.cs * c /doc /docfile: NewHome.xml NewHome.cs * csc /doc /out: NewHome.xml...
2014-08-01, 1641👍, 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, 1638👍, 0💬

The ASP.NET directive that lets you cache different versions of a page based on varying input parameters ...
The ASP.NET directive that lets you cache different versions of a page based on varying input parameters ... The ASP.NET directive that lets you cache different versions of a page based on varying input parameters, HTTP headers and browser type is * @OutputCache * @CacheOutput * @PageCache * @CacheA...
2014-08-27, 1638👍, 0💬

What is the difference between VB 6 and VB.NET?
What is the difference between VB 6 and VB.NET? Answer1 VB 1,Object-based Language 2,Doesnot support Threading 3,Not powerful Exception handling mechanism 4,Doesnot having support for the console based applications 5,Cannot use more than one version of com objects in vb application called DLL error ...
2013-11-26, 1638👍, 0💬

What is managed code and managed data?
What is managed code and managed data? Managed code is code that is written to target the services of the Common Language Runtime. In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All C#, Visual Basic .NET, and JScript .NET code is ma...
2013-10-28, 1638👍, 0💬

What does the "EnableViewState" property do? Why would I want it on or off?
What does the "EnableViewState" property do? Why would I want it on or off? Enable ViewState turns on the automatic state management feature that enables server controls to re-populate their values on a round trip without requiring you to write any code. This feature is not free however, since the s...
2014-01-17, 1636👍, 0💬

With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and
With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and then to force it to repaint? Painting is the slowest thing the OS does, so usually telling it to repaint, but not forcing it allows for the process to take place in the ...
2013-11-21, 1636👍, 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, 1635👍, 0💬

What are possible implementations of distributed applications in .NET?
What are possible implementations of distributed applications in .NET? .NET Remoting and ASP.NET Web Services. If we talk about the Framework Class Library, noteworthy classes are in System.Runtime.Remoting and System.Web.Services.
2013-11-08, 1635👍, 0💬

Which DLL file is needed to be registered for ASP?
Which DLL file is needed to be registered for ASP? The dll needed for the ASP.net is SYSTEM.WEB.dll
2014-09-26, 1634👍, 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, 1630👍, 0💬

Where does the Web page belong in the .NET Framework class hierarchy?
Where does the Web page belong in the .NET Framework class hierarchy? System.Web.UI.Page
2014-03-05, 1629👍, 0💬

What base class do all Web Forms inherit from?
What base class do all Web Forms inherit from? System.Web.UI.Page
2014-01-30, 1629👍, 0💬

What method do you use to explicitly kill a user’s session?
What method do you use to explicitly kill a user’s session? The Abandon method destroys all the objects stored in a Session object and releases their resources. If you do not call the Abandon method explicitly, the server destroys these objects when the session times out. Syntax: Session.Abandon
2014-01-30, 1628👍, 0💬

What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services?
What are the consideration in deciding to use .NET Remoting or ASP.NET Web Services? Remoting is a more efficient communication exchange when you can control both ends of the application involved in the communication process. Web Services provide an open-protocol-based exchange of informaion. Web Se...
2013-11-11, 1628👍, 0💬

<< < 148 149 150 151 152 153 154 155 156 157 158 > >>   Sort: Date