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

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

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

What methods are fired during the page load?
What methods are fired during the page load? Init() - when the pageis instantiated, Load() - when the page is loaded into server memory,PreRender() - the brief moment before the page is displayed to the user asHTML, Unload() - when page finishes loading.
2014-03-04, 1971👍, 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, 1971👍, 0💬

What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state? Web pages are recreated each time the page is posted to the server. In traditional Web programming, this would ordinarily mean that all information associated with the page and the controls ...
2014-02-12, 1969👍, 0💬

.NET framework overview
.NET framework overview 1. Has own class libraries. System is the main namespace and all other namespaces are subsets of this. 2. It has CLR(Common language runtime, Common type system, common language specification) 3. All the types are part of CTS and Object is the base class for all the types. 4....
2013-12-06, 1969👍, 0💬

Explain similarities and differences between Java and.NET?
Explain similarities and differences between Java and.NET? Comparing Java and .NET is comparing apples and oranges. Either the question needs to be to compare Java and C# or J2EE and .NET.
2014-09-22, 1968👍, 0💬

What’s a bubbled event?
What’s a bubbled event? When you have a complex control, likeDataGrid, writing an event processing routine for each object (cell, button,row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of itsconstituents.
2014-03-06, 1967👍, 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.
2014-01-14, 1967👍, 0💬

How do you get records number from 5 to 15 in a dataset of 100 records? Write code.
How do you get records number from 5 to 15 in a dataset of 100 records? Write code. Answer1 DataSet ds1=new DataSet(); String strCon=”data source=IBM-6BC8A0DACEF;initial catalog=pubs;integrated security=SSPI;persist” +” security info=False;user id=sa;workstation id=IBM-6BC8A0DACEF;packet s...
2014-09-11, 1966👍, 0💬

Which control would you use if you needed to make sure the values in two different controls matched?
Which control would you use if you needed to make sure the values in two different controls matched? Use the CompareValidator control to compare the values of 2 different controls.
2014-02-10, 1964👍, 0💬

How many types of exception handlers are there in .NET?
How many types of exception handlers are there in .NET? Answer 1: From MSDN&gt;gt; “How the Runtime Manages Exceptions” http://msdn.microsoft.com/libr ary/default.asp?url=/library/en-us/cpguide/htm l/cpconexceptionsoverview.aspThe exception information table represents four types of except...
2013-12-16, 1962👍, 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, 1961👍, 0💬

Difference between Panel and GroupBox classes?
Difference between Panel and GroupBox classes? Answer 1: Panel and Group box both can used as container for other controls like radio buttons and check box. the difference in panel and group box are Panel 1) In case of panel captions cannot be displayed 2) Can have scroll bars. Group box 1) Captions...
2013-12-11, 1961👍, 0💬

Should validation (did the user enter a real date) occur server-side or client-side? Why?
Should validation (did the user enter a real date) occur server-side or client-side? Why? Client-side validation because there is no need to request a server side date when you could obtain a date from the client machine.
2014-01-16, 1960👍, 0💬

What is ADO .NET and what is difference between ADO and ADO.NET?
What is ADO .NET and what is difference between ADO and ADO.NET? ADO.NET is stateless mechanism. I can treat the ADO.Net as a separate in-memory database where in I can use relationships between the tables and select insert and updates to the database. I can update the actual database as a batch.
2014-01-15, 1959👍, 0💬

What is the difference between boxing and unboxing?
What is the difference between boxing and unboxing? Boxing allows us to convert value types to reference types. Basically, the runtime creates a temporary reference-type box for the object on heap. Eg: int i=20; object o=i;
2014-02-13, 1958👍, 0💬

I am constantly writing the drawing procedures with System.Drawing.Graphics, but having to use the try and dispose blocks is to
I am constantly writing the drawing procedures with System.Drawing.Graphics, but having to use the try and dispose blocks is too time-consuming with Graphics objects. Can I automate this? Yes, the code System.Drawing.Graphics canvas = new System.Drawing.Graphics(); try { //some code } finally canvas...
2013-11-20, 1957👍, 0💬

Which template must you provide, in order to display data in a Repeater control?
Which template must you provide, in order to display data in a Repeater control? ItemTemplate
2014-01-28, 1955👍, 0💬

Which method do you invoke on the DataAdapter control to load your generated dataset with data?
Which method do you invoke on the DataAdapter control to load your generated dataset with data? System.Data.Common.DataAdapter .Fill(System.Data.DataSet);If my DataAdapter is sqlDataAdapter and my DataSet is dsUsers then it is called this way: sqlDataAdapter.Fill(dsUsers);
2014-01-28, 1955👍, 0💬

Can you explain what inheritance is and an example of when you might use it?
Can you explain what inheritance is and an example of when you might use it? Inheritance is a fundamental feature of an object oriented system and it is simply the ability to inherit data and functionality from a parent object. Rather than developing new objects from scratch, new code can be based o...
2014-01-22, 1955👍, 0💬

What is the difference between a Local temporary table and a Global temporary table? How is each one used?
What is the difference between a Local temporary table and a Global temporary table? How is each one used? Answer1: Local templrary table will have a single # (#tablename) appended with the table name.Global templrary table will have Double # (##tablename) appended with the table name. Ex:create tab...
2014-10-15, 1954👍, 0💬

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