Go to DotNetFunda.com
 Online : 1342 |  Welcome, Guest!   Login
 
Home > Interview Questions > .NET Framework Interview Questions > Most Important Questions in Interview .. ...

call for mock interview


.NET Framework Interview Questions


Most Important Questions in Interview

Author: Syedshakeer | Posted on: 2/18/2009 4:35:38 AM | Category: .NET Framework | Views:2499 |  Print | Asked In: Many Interviews



Answer:
Q1. Explain the differences between Server-side and Client-side code?
Ans. Server side code will execute at server (where the website is hosted) end, & all the business logic will execute at server end where as client side code will execute at client side (usually written in javascript, vbscript, jscript) at browser end.

Q2. What type of code (server or client) is found in a Code-Behind class? Ans. Server side code.

Q3. How to make sure that value is entered in an asp:Textbox control? Ans. Use a RequiredFieldValidator control.

Q4. Which property of a validation control is used to associate it with a server control on that page? Ans. ControlToValidate property.

Q5. How would you implement inheritance using VB.NET & C#? Ans. C# Derived Class : Baseclass
VB.NEt : Derived Class Inherits Baseclass

Q6. Which method is invoked on the DataAdapter control to load the generated dataset with data? Ans. Fill() method.

Q7. What method is used to explicitly kill a user's session? Ans. Session.Abandon()

Q8. What property within the asp:gridview control is changed to bind columns manually? Ans. Autogenerated columns is set to false

Q9. Which method is used to redirect the user to another page without performing a round trip to the client?
Ans. Server.Transfer method.

Q10. How do we use different versions of private assemblies in same application without re-build? Ans.Inside the Assemblyinfo.cs or Assemblyinfo.vb file, we need to specify assembly version.
assembly: AssemblyVersion

Found interesting? Add this to:

| More


Navigate to:

 Submit Interview Questions

Name a feature which is common to all .NET languages? ...

Differrence between Array.CopyTo() and Array.Clone() ...

Random Interview Questions
Help: If for some reason you are getting the same question by clicking Next Question or Previous Question, Try clicking Categories link above.

Related interview questions

More ...


Advertisement

About Us | The Team | Advertise | Contact Us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 9/3/2010 4:05:25 AM