You are on page 1of 4

1. What is the best way to store the connection strings?

Config files Database text file session

2. In your ASP.NET web application you want to display a list of clients on a Web page. The client list displays 10 clients at a time, and you require the ability to edit the clients. Which Web control is the best choice for this scenario? The DetailsView control The Table control The GridView control The FormView control

3. In your ASP.NET web application which option is used to inherit the property of a page to any other pages. The session The web page The style sheet The master page 4. In your ASP.NET web application which option is the easiest way to format the pages? The session The CSS The properties The master page

5. In your ASP.NET web application SQL data source is used to connect the backend.

6. While developing ASP.NET 2.0 web application you want to display a list of parts in a master/detail scenario where the user can select a part number using a list that takes a minimum amount of space on the Web page. When the part is selected, a DetailsView control displays all the information about the part and allows the user to edit the part. Which Web control is the best choice to display the part number list for this scenario? The DropDownList control The RadioButtonList control The FormView control The TextBox control

7. The first event triggers in an aspx page is. Page_Init() Page_Load() Page_click() 8. Attribute must be set on a validator control for the validation to work. ControlToValidate ControlToBind ValidateControl Validate 9. What is used to validate complex string patterns like an e-mail address? Extended expressions Basic expressions Regular expressions Irregular expressions

10. File extension used for ASP.NET files. .Web .ASP .ASPX None of the above 11. An alternative way of displaying text on web page using asp:label asp:listitem asp:button 12. Default scripting language in ASP. EcmaScript VBScript PERL JavaScript 13. Which of the following control is used to validate that two fields are equal? RegularExpressionValidator CompareValidator equals() method RequiredFieldValidato 14. Which of the following authentication is best suited for a corporate network? Windows Form User All

15. ___________________ tests make sure that new code does not break existing code. Regression tests Integration tests Unit tests Load test

You might also like