KyaPoocha.com

Huge Collection of Interview Questions


Archive for April, 2008

Which control would you use if you needed to make sure the values in two different controls matched ? 

CompareValidator Control  Read more »

Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box ? 

DataTextField property  Read more »

What does WSDL stand for ? 

(Web Services Description Language)  Read more »

True or False: A Web service can only be written in .NET ? 

False  Read more »

What tag do you use to add a hyperlink column to the DataGrid ? 

 Read more »

What tags do you need to add within the asp:datagrid tags to bind columns manually ? 

Set AutoGenerateColumns Property to false on the datagrid tag  Read more »

What base class do all Web Forms inherit from ? 

The Page class.  Read more »

What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control ? 

You must set the DataSource property and call the DataBind method.  Read more »

Which template must you provide, in order to display data in a Repeater control ? 

ItemTemplate  Read more »

If I’m developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users ? 

Maintain the login state security through a database.  Read more »

What does the “EnableViewState” property do? Why would I want it on or off ? 

It enables the viewstate on the page. It allows the page to save the users input on a form.  Read more »

What data type does the RangeValidator control support ? 

Integer,String and Date.  Read more »

Suppose you want a certain ASP.NET function executed on MouseOver overa certain button. Where do you add an event handler ? 

It’s the Attributesproperty, the Add function inside that property. So btnSubmit.Attributes.Add(”onMouseOver”,”someClientCode();”)  Read more »

What’s a bubbled event ? 

When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can... Read more »

What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs” ? 

CodeBehind is relevant to Visual Studio.NET only.  Read more »

Page 4 of 15« First...«23456»...Last »