Saturday, January 5, 2008

ASP.Net Interview Questions

1. Which method do you invoke on the DataAdapter control to load your generated dataset with data?
2. Can you edit data in the Repeater control?
3. Which template must you provide, in order to display data in a Repeater control?
4. How can you provide an alternating color scheme in a Repeater control?
5. 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?
6. What base class do all Web Forms inherit from?
7. What method do you use to explicitly kill a user s session?
8. How do you turn off cookies for one page in your site?
9. Which two properties are on every validation control?
10. What tags do you need to add within the asp:datagrid tags to bind columns manually?
11. How do you create a permanent cookie?
12. What tag do you use to add a hyperlink column to the DataGrid?
13. What is the standard you use to wrap up a call to a Web service
14. Which method do you use to redirect the user to another page without performing a round trip to the client?
15. What is the transport protocol you use to call a Web service SOAP
16. True or False: A Web service can only be written in .NET
17. What does WSDL stand for?
18. What property do you have to set to tell the grid which page to go to when using the Pager object?
19. Where on the Internet would you look for Web services?
20. What tags do you need to add within the asp:datagrid tags to bind columns manually.
21. 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?
22. How is a property designated as read-only?
23. Which control would you use if you needed to make sure the values in two different controls matched?
24. True or False: To test a Web service you must create a windows application or Web application to consume this service?
25. How many classes can a single .NET DLL contain?
(a) One and only one(b) Not more than 2(c) Many

No comments: