Saturday, March 17, 2007

ASP.NET interview questions Part -1

1. What types of data validation events are commonly seen in the client-side form validation?
2. In A Page I have gridview with Options of select and delete using hyperlink when i am selecting any one of then it has to open another page how can it
3. Web service support a) Data set b) dataReader c) both of above d) none of above
4. How to create dynamic Gridview?
5. What is PreProcessor in .NET and type , where it use
6. Please brief not about XSD,XSLT & XML.
7. List of Words of PreProcessor in .NET?
8. If we remove web.config or machine.config from the application then, will the application still work?
9. How to reduce the width of textbox in EditCommandColumn of DataGrid?
10. Which dll handles the request of .aspx page?
11. What is event bubbling?
12. What is server infrastructure & Server components?
13. What is IPostBack? How to use it?
14. How to create a DB connection at one place/page so that we can use that connection for all pages/forms/windows.whatarethe steps ned to be performed. if question not clear,let me know.
15. What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and overloading
16. What is DLL hell?
17. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
18. What is CLR? 2.1. Diff between CLR & CTS
19. Explain the differences between Server-side and Client-side code?
20. Which namespace is used to get assembly details?
21. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
22. What type of code (server or client) is found in a Code-Behind class?
23. ColumnMapping belongs to which namespaces?
24. Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
25. Should validation (did the user enter a real date) occur server-side or client-side? Why?
26. What is an abstract class?
27. What tags do you need to add within the asp:datagrid tags to bind columns manually?
28. What method do you use to explicitly kill a user s session?
29. What base class do all Web Forms inherit from?
30. How can you provide an alternating color scheme in a Repeater control?
31. Which template must you provide, in order to display data in a Repeater control?
32. Can you edit data in the Repeater control?
33. Which method do you invoke on the DataAdapter control to load your generated dataset with data?
34. In order to get assembly info whcih namespace we should import?
35. What is the root namespace for all types?
36. Diff. betn Dataset and Recordset.
37. Diff between Dataset and Datareader?
38. Trace and Debug belongs to which namespaces?
39. What does the "EnableViewState" property do? Why would I want it on or off?
40. Let's say I have an existing application written using Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. How would you approach migrating this application to .NET
41. DIff. between Friend and Protected Friend.
42. How doyoudeclare static variable and how it is declared and what is its lifetime?
43. How doesyouget record no from 5 to 15 from a dataset of 100 records?
44. Why Datareader is useful?
45. How doesyoucall and execute a SP in .NET?
46. What is versioning in .NET?
47. Whatarethe ASP.NET list controls and diff. between them?
48. What is diff. between ASP State Management and ASP.NET State Management?(Imp) 19. How can we pass info between 2 asp.net pages?
49. Diff between Web User Control and Web Custom Control.
50. How do we Sort the data from a Dataset?

No comments:

Post a Comment