1.
What is difference in Record set and Dataset Recordset provides data one row at a time.Dataset is a data structure which represents the complete table data at same time.Recordset has the logic to update and manipulate dataDataset is just a data store and manipulation is done through DataAdapters Comments: 0 Post your Answer Added: July 31, 2005 2. What is difference in an Abstract Class and an Interface. Abstract class can contain method definations also.Interfaces are essentially having all method prototypes no definitionIn short Interface is a abstract class having all methods abstract Comments: 0 Post your Answer Added: July 31, 2005 3. Waht are the Advantages of ADO.Net? ADO.NET Does Not Depend On Continuously Live ConnectionsDatabase Interactions Are Performed Using Data CommandsData Can Be Cached in DatasetsDatasets Are Independent of Data SourcesData Is Persisted as XMLSchemas Define Data Structures Comments: 0 Post your Answer Added: July 31, 2005 4. How to bind the controls(best practice) comboboxes to the data in the dataset ? Comments: 0 Post your Answer Added: August 13, 2005 5. What is the Best Practice for binding Controls [Data in the data grid is to be binded with the controls of some form ] ? Comments: 0 Post your Answer Added: August 13, 2005 6. how can we add a check box or a dropdown list to a column in a datagrid? post your answer Comments: 0 Post your Answer Added: September 13,
2. There are 83 questions in ASP.NET with 59 comments
Home >
Microsoft.NET >
Interview Questions >
ASP.NET Showing 1-10 of 83 Next Page
1. Explain the differences between Server-side and Client-side code? Server side code is executed at the server and written in VB Code whereas client side code is executed at the client side. Mostly client side coding is done in Javascrit.The reason why we do client side validations is to save the to and fro time taken
Comments: 5 Last Comment: Prashanth Gajra Post your Answer
Added: September 06, 2005
2. What type of code (server or client) is found in a Code-Behind class? The code which we write in code behind is all server side code we will use languages like vb or c# for this code. All this code will be converted in to DLL in .net Comments: 3 Last Comment: ANil Post your Answer Added: September 02, 2005 3. Should validation (did the user enter a real date) occur server-side or client-side? Why? validation should be done in client side itself to avoid the round trip to the server Comments: 2 Last Comment: Hemapriya Post your Added: August 20, 2005 Answer 4. What does the "EnableViewState" property do? Why would I want it on or off? In Dot Net State of Objects/Controls is stored in hidden field named _ViewState this is done automatically by dot net life time of this control is life of page (i.e till we are doing PostBack to same page) through EnableViewState=true /false Comments: 1 Last Comment: Jatinder Singh Rana Post Added: August 08, 2005 your Answer 5. What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other? i want to add two more comment to the previous one Resonse.redirect can be used both for aspx and html pages.But server.transfer is only used for aspx pages it will not work for html pages. Response.redirect will only only Comments: 2 Last Comment: Anil kumar Post your Added: September 02, 2005 Answer 6. Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component when there is no .Net framework installed in one of the communicating applications. Comments: 1 Last Comment: santosh Post your Answer Added: August 29, 2005 7. 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 Comments: 0 Post your Answer
Added: August 05, 2005
8. Can you explain the difference between an ADO.NET Dataset and an ADO Recordset? Since Recordset is connected there is concept of Cursor like Dynemic, KeySet etc. Cursor is not available in Dataset because it is disconnected. Comments: 3 Last Comment: Samyak R. Ranjan Post Added: September 06, 2005 your Answer 9. what is the root namespace for all types? system is the root of al the namespace in .net Comments: 2 Last Comment: arun Post your Answer
Added: August 12, 2005
10. What is CLR? 2.1. Diff between CLR & CTS CLR is run time execution environment for .Net, It provides runtime as well as compile time services. e.g Memory Management, debuging CLR works with the CLS (Common Language Specification) and CTS (Common Type Systems) to ensure language interoperabilit 11. Trace and Debug belongs to which namespaces? System.Diagnostics Comments: 2 Last Comment: amish Post your Answer 12. ColumnMapping belongs to which namespaces?
Added: August 10, 2005
System.Data Comments: 1 Last Comment: kumar Post your Answer
Added: August 31, 2005
13. In order to get assembly info whcih namespace we should import? system.reflection Comments: 1 Last Comment: shekar Post your Answer
Added: August 15, 2005
14. DIff. between Friend and Protected Friend. Comments: 0 Post your Answer
Added: August 05, 2005
15. What is an abstract class? Q: What is an Abstract Class? Ans: An abstract class is a class which contain all abstract methods. A abstact method is a method withoout body. Comments: 1 Last Comment: Sreetak Post your Answer Added: August 18, 2005 16. What is diff. between abstract class and an interface? * What is shadowing? * Diff between Overriding and overloading An Abstract class is a class with some common/certain implementations and define abstraction for other services which are implemented in its concrete sub classes, whereas interface only have method declaration with zero implementations. Comments: 1 Last Comment: K.d.c Anuradha Post your Added: September 09, 2005 Answer 17. How do u declare static variable and how it is declared and what is its lifetime? Comments: 0 Post your Answer
Added: August 05, 2005
18. Diff between Dataset and Datareader? Data Set is a connectionless service and Data reader is a connection oriented service Comments: 1 Last Comment: uday Post your Answer
Added: August 11, 2005
19. How does u get record no from 5 to 15 from a dataset of 100 records? Comments: 0 Post your Answer
Added: August 05, 2005
20. diff. betn Dataset and Recordset. DataSet is a ADO.Net object and RecordSet is a ADO object Comments: 1 Last Comment: uday Post your Answer
Added: August 11, 2005
Previous View page 1 [ 2 ] 3 4 5 6 7 8 9 10 Next
Error! Filename not specified. 21. Why Datareader is useful?
Data Reader is Read only version Data Set,Each record is returned as a Data Reader Object,ExecuteReader method acts directly on the database connection.There are two versions of the data reader object: OleDbDataReader and SqlDataReader. Comments: 1 Last Comment: Hariharan Post your Added: August 05, 2005 Answer 22. How does u call and execute a SP in .NET? Comments: 0 Post your Answer
Added: August 05, 2005
23. What is DLL hell? Previously, before .NET, this used to be a major issue. "DLL Hell" refers to the set of problems caused when multiple applications attempt to share a common component like a dynamic link library (DLL) or a Component Object Model (COM) class. In the most Comments: 1 Last Comment: RADHE SHYAM Post Added: September 08, 2005 your Answer 24. What is versioning in .NET? Comments: 0 Post your Answer
Added: August 05, 2005
25. What r the ASP.NET list controls and diff. between them? Comments: 0 Post your Answer
Added: August 05, 2005
26. What is diff. between ASP State Management and ASP.NET State Management?(Imp) 19. How can we pass info between 2 asp.net pages? Comments: 0 Post your Answer
Added: August 05, 2005
27. Diff between Web User Control and Web Custom Control. Comments: 0 Post your Answer
Added: August 05, 2005
28. How do we Sort the data from a Dataset? Comments: 0 Post your Answer
Added: August 05, 2005
29. How do we get only edited/deleted/inserted records from a Dataset? Comments: 0 Post your Answer
Added: August 05, 2005
30. How Dataadapter.fill works? Comments: 0 Post your Answer
Added: August 05, 2005
31. How can we implement a Identity (SQL Server) call in an asp.net page? Comments: 0 Post your Answer
Added: August 05, 2005
32. What is Viewstate? ViewState allows the state of objects (serializable) to be stored in a hidden field on the page. ViewState is transported to the client and back to the server, and is not stored on the server or any other external source. ViewState is used the retain
Comments: 4 Last Comment: Swapna Post your Answer
Added: August 05, 2005
33. What is the life cycle of an asp.net page? Life cycle of asp.net page :Initialize (init event or init method)Load View State (Load view state method) Load Pre RenderRenderDispose Comments: 2 Post your Answer Added: August 05, 2005 34. Can you give an example of what might be best suited to place in the Application_Start and Session_Start subroutines? Comments: 0 Post your Answer
Added: August 05, 2005
35. If I'm developing an application that must accomodate multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers (using round-robbin load balancing) what would be the best approach to maintain login-in state for the users? u can use state server for maintaining session in this case. Comments: 2 Last Comment: kumar Post your Answer Added: August 05, 2005 36. What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)? Comments: 0 Post your Answer
Added: August 05, 2005
37. How does VB.NET/C# achieve polymorphism? Comments: 0 Post your Answer
Added: August 05, 2005
38. Can you explain what inheritance is and an example of when you might use it? Comments: 0 Post your Answer
Added: August 05, 2005
39. How would you implement inheritance using VB.NET/C#? Comments: 0 Post your Answer
Added: August 05, 2005
40. What is an assembly Comments: 0 Post your Answer
Added: August 05, 2005
41. What is .NET remoting? Comments: 0 Post your Answer Added: August 05, 2005 42. What are webservices? Comments: 0 Post your Answer Added: August 05, 2005 43. What is CLR? Common Language Runtime Comments: 1 Last Comment: Swapna Post your Answer Added: August 05, 2005 44. What is delay signing? Comments: 0 Post your Answer Added: August 05, 2005 45. Which namespace is used by ADO.NET? Comments: 0 Post your Answer Added: August 05, 2005 46. What are client activated objects and server activated objects? Comments: 0 Post your Answer Added: August 05, 2005 47. What is difference between singleton and single call? Comments: 0 Post your Answer Added: August 05, 2005 48. What is difference between OR and ORElse? Comments: 0 Post your Answer Added: August 05, 2005 49. What are delegates? delegates are basically a function pointers Comments: 1 Last Comment: Anand N Post your Answer Added: August 05, 2005 50. Which namespace is used to get assembly details? system.reflection Comments: 1 Last Comment: kavita Post your Answer
51. Describe the difference between inline and code behind - which is best in a Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.
Comments: 1 Last Comment: Swapna Post your Answer
Added: August 05, 2005
52. What is loosely coupled solution Comments: 0 Post your Answer
Added: August 05, 2005
53. Explain what a diffgram is, and a good use for one The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. A good use is reading database data to an XML file to be sent to a Web Service. Comments: 2 Last Comment: Swapna Post your Added: August 05, 2005 Answer 54. Where would you use an iHTTPModule, and what are the limitations of any Comments: 0 Post your Answer
Added: August 05, 2005
55. approach you might take in implementing one Comments: 0 Post your Answer
Added: August 05, 2005
56. What are the disadvantages of viewstate/what are the benefits Comments: 0 Post your Answer
Added: August 05, 2005
57. Describe session handling in a webfarm, how does it work and what are the > limits Comments: 0 Post your Answer
Added: August 05, 2005
58. How would you get ASP.NET running in Apache web servers - why would you even do this? Comments: 0 Post your Answer
Added: August 05, 2005
59. Whats MSIL, and why should my developers need an appreciation of it if at all? MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL. MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer. Comments: 2 Last Comment: Swapna Post your Added: August 05, 2005 Answer 60. In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events? Comments: 0 Post your Answer
Added: August 05, 2005
61. Which method do you invoke on the DataAdapter control to load your generated dataset with data? dataadapter.fill(dataset object) Comments: 1 Last Comment: ramesh Post your Answer Added: August 18, 2005 62. Can you edit data in the Repeater control? not possible Comments: 1 Last Comment: ramesh Post your Answer 63. Which template must you provide, in order to display data in a Repeater control? itemtemplate
Added: August 18, 2005
Comments: 1 Last Comment: ramesh Post your Answer
Added: August 18, 2005
64. How can you provide an alternating color scheme in a Repeater control? alternate item template Comments: 1 Last Comment: ramesh Post your Answer
Added: August 18, 2005
65. 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 Comments: 1 Last Comment: Swapna Post your Added: August 05, 2005 Answer 66. What base class do all Web Forms inherit from? system Comments: 1 Last Comment: ramesh Post your Answer
Added: August 18, 2005
67. What method do you use to explicitly kill a user s session? session.abandon-to kill all session.remove-to spec item Comments: 1 Last Comment: ramesh Post your Answer
Added: August 18, 2005
68. How do you turn off cookies for one page in your site? Comments: 0 Post your Answer 69. Which two properties are on every validation control? ControlToValidate property and Text property Comments: 1 Last Comment: Swapna Post your Answer
Added: August 05, 2005
Added: August 05, 2005
70. What tags do you need to add within the asp:datagrid tags to bind columns manually? boundcolumn Comments: 1 Last Comment: ramesh Post your Answer Added: August 18, 2005 71. How do you create a permanent cookie? Comments: 0 Post your Answer
Added: August 05, 2005
72. What tag do you use to add a hyperlink column to the DataGrid? Comments: 0 Post your Answer
Added: August 05, 2005
73. What is the standard you use to wrap up a call to a Web service Comments: 0 Post your Answer
Added: August 05, 2005
74. Which method do you use to redirect the user to another page without performing a round trip to the client? Server.Transfer Comments: 1 Last Comment: Swapna Post your Added: August 05, 2005 Answer 75. What is the transport protocol you use to call a Web service SOAP Comments: 0 Post your Answer 76. What does WSDL stand for?
Added: August 05, 2005
Web Services Description Language Comments: 1 Last Comment: Swapna Post your Answer
Added: August 05, 2005
77. What property do you have to set to tell the grid which page to go to when using the Pager object? Comments: 0 Post your Answer
Added: August 05, 2005
78. What tags do you need to add within the asp:datagrid tags to bind columns manually. Comments: 0 Post your Answer
Added: August 05, 2005
79. 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? Comments: 0 Post your Answer
Added: August 05, 2005
80. How is a property designated as read-only? Comments: 0 Post your Answer
Added: August 05, 2005
81. Which control would you use if you needed to make sure the values in two different controls matched? Compare Validator Control Comments: 1 Last Comment: Swapna Post your Added: August 05, 2005 Answer 82. How many classes can a single .NET DLL contain? A Dll file may contain many classes. Comments: 1 Last Comment: Arun Post your Answer
Added: August 05, 2005
83. Name some of the Microsoft Application Blocks. Have you used any? Which ones? Exception Management Logging Data Access User Interface Caching Application Block for .NET Asynchronous Invocation Application Block for .NET Configuration Management Application Block for .NET (there are others) We use Exception and Data Access Comments: 1 Last Comment: Swapna Post your Added: August 05, 2005 Answer