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

  • Nominate yourself for "Agile Software Development using Scrum" online session for FREE, click here.

  • Download OOPS and ASP.NET Online training session video and PPT from here.

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:1642 |  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

Interesting?   Share and Bookmark this


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



Advertisement

About Us | The Team | Advertise | Contact Us | Feedback | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you found copied contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
All rights reserved to DotNetFunda.Com. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks.
(Best viewed in IE 6.0+ or Firefox 2.0+ at 1024 * 768 or higher)