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 5172

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

Syntax Softtech,

1 3034

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

Syntax Softtech,

2 13492

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

HCL, Syntax Softtech,

2 8106

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

Syntax Softtech,

1 7660

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

Syntax Softtech,

3 3245

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 3264

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

Syntax Softtech, Bunzl Vending,

7 15232

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 5221

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 3574

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.

TCS, Syntax Softtech,

3 10940

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.

TCS, ABC, Syntax Softtech,

4 3820

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 10188

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

Syntax Softtech,

2 4930

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 25721

Post New ASP.NET Questions

Un-Answered Questions { ASP.NET }

can any one find and tell the difference between dot net and php which one is best ? which one we get more salary? which one is stable and which one is best for freshers and also better in future and carrer ? which one we wil get more salary sir ? please send ur valuable suggestions to


benefits of migration from asp to hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to .plz give me some points which i should incorporate in my ppt thanks


I have an excel file with data, i am importing this excel file data into Sqlserver 2005 database. while importing i am getting wrong data(ie, special characters) in one column(description column), upto some limit the data in that column is coming fine,after that data is coming like below. The "Walter" leather storage bench is one of our most popular styles. The top with the tufting and double stitching finish a very impressive piece. The size is perfect in front of beds and the storage adds another functional bonus. Open it up and sneak al���Ƴ�Â��ƴ�Ã��ƶ�Å�� al���Ƴ�Â��ƴ�Ã��ƶ�Å�� Is there anywhy to resolve this? (I am using recordset in coding for developing import process.) please help me soon.


Hi this is the coding for adding data in to an xml table i want the coding for update and delete Try Dim emp_xml_doc As New XmlDocument If System.IO.File.Exists(Server.MapPath("emp.xml")) Then emp_xml_doc.Load(Server.MapPath("emp.xml")) Dim myrow_element As XmlElement myrow_element = emp_xml_doc.CreateElement("EmpDetails") Dim str As String str = "" & TxtEmpId.Text & "" & _ "" & TxtName.Text & "" & _ "" & TxtSalary.Text & "" myrow_element.InnerXml = str emp_xml_doc.DocumentElement.AppendChild(myrow_element) emp_xml_doc.Save(Server.MapPath("emp.xml")) Response.Write("Record Saved") Dim ds As New DataSet ds.ReadXml(Server.MapPath("emp.xml")) GridView1.DataSource = ds GridView1.DataBind() Else Response.Write("File does not exist.") End If Catch ex As Exception Response.Write(ex.ToString) End Try *********************** this is the xml file 100 xxx 2000 yyy dddd 77777 rrrr rrrr 6666 qaqa sini 50000 errrrrrrrr rrrrrrrrr 677777 rrr rrr 33


benefits of migration from asp to hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to .plz give me some points which i should incorporate in my ppt thanks


How can we update records in gridview?Is there any appropriate code for it?


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?


how to implement some securty aspect in our application i.e 1.cookie poisioning. encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services question is how to implement these thing in our application is this done by hard coding or by help of some tool


Apart from IDE what are the enhancements in 2.0?


How can we prepairing Interview


a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in 2.0.


Hi All, Im an MCA holder with 3+ years of experience in Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj


what is AutoEventWireUp and what is the use of This property explain in details?


Can any body provide me the sample web application in


witch is the best insistute in sharpoint course.what abt future of share point course.