ASP.NET Interview Questions
Questions Answers Views Company eMail

How do you get records number from 5 to 15 from a dataset of 100 records?

Syntax Softtech,

3 7371

What is the difference of a LEFT JOIN and an INNER JOIN statement? What is a Cartesian product? What causes it?

Syntax Softtech,

1 4334

Describe and In Process Vs Out of Process component. Which is faster?

Syntax Softtech,

2 17097

What are the main components of the ADO object model? How are they used?

HCL, Syntax Softtech,

2 11376

What is the T-SQL equivalent of IIF (immediate if/ternary operator) function of other programming languages?

Syntax Softtech,

1 9580

What definition correctly defines a label server control with the name set to lblHoop? a) b)

Syntax Softtech,

3 5478

What is the name of the process the browser uses to find the address of a web server? a) DMZ b) DNS c) Active Directory d) Database lookup

Syntax Softtech,

1 4829

What ASP.NET object encapsulates the state of the client and the browser? a) The Session object b) The Application object c) The Response object d) The Request object e) The Server object

Bunzl Vending, Syntax Softtech,

7 20933

What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.

Syntax Softtech,

2 7071

When working with ASP.Net server controls, it is important to use the right event handlers to capture the event for the application to function properly. What event would you use to capture the selection of a new item in a DropDownList control? a) The Click event. b) The SelectionChanged event. c) The SelectionIndexChanged event. d) The ChangedSelection event.

Syntax Softtech,

4 6385

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

Syntax Softtech, TCS,

4 18163

What is the function of the CustomValidator? a) It allows for custom C# client-side code to validate entries in a control. b) It allows for a custom mixture of validator controls to use one central control for the display of messages. c) It uses scripted client-side code to validate the entry in a control. d) It uses server-side code to validate the entry in a control.

ABC, Syntax Softtech, TCS,

4 6828

Given an ASP.NET Web Form called WebFrom1, what class does the WebForm1 class inherit from by default? a) System.Web.Form b) System.Web.GUI.Page c) System.Web.UI.Page d) System.Web.UI.Form

Syntax Softtech,

3 16803

What layout mode is the default when a new Web Form is created? a) GridBagLayout b) GridLayout c) FlowLayout d) FormLayout

Syntax Softtech,

2 7186

What is the Web.config file used for? a) To store the global information and variable definition for the application. b) Configures the time that the server-side codebehind module is called c) To Configure the Web Server. d) To Configure the Web browser.

HCL, IBM, Syntax Softtech, Vypin, WideVision Technologies,

8 35679


Post New ASP.NET Questions

Un-Answered Questions { ASP.NET }

What is data control in asp.net?

751


What is the use of session?

709


Which data type does the rangevalidator control support?

725


What is csrf attack in asp.net?

715


Why do you use the app_code folder in asp.net?

774


What is the parent class of all the web server control?

720


How to sign out from forms authentication?

758


What is active web page?

737


What are client activated objects and server activated objects?

722


Why select Web API?

742


Explain a program using code nuggets to create a simple application? : asp.net mvc

760


What's the use of formatters in .net?

781


How many types of sessions are there in asp net?

740


ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?

1705


Can you explain the importance of finalize method in .net?

809