Written Test or practical ASP.NET Interview Questions asked in MNC's


All Questions
ASP.NET
CSharp
SQL Server


All Questions
WCF
MVC
HR Round

Search This Site

All the ASP.NET Interview questions listed in this article are asked in many company interviews. They give you system and ask you to write code to solve these questions. You may have to write programs for 1 or 2 questions not for all the questions in this article.

Question 1:
Please write a sample program that parses the string into a series of substrings where the delimiter between the substrings is ^*!%~ and then reassembles the strings and delimiters into a single new string where each of the substrings is in the reverse order from the original string. The method must return the final string.


Original String
Token A^*!%~Token B^*!%~Token C^*!%~Token D^*!%~Token E

Output String
Token E^*!%~Token D^*!%~Token C^*!%~Token B^*!%~Token A

Click here to get the answer for question 1





Question 2:
How to bind an XML file to dropdownlist. The dropdownlist items should be sorted in ascending order. Click here for the complete question with the answer, Click here to get the answer.

Question 3:
Reading and writing to an XML file. Click here to get the answer.

Question 4:
Write a custom reusable function to populate a dropdownlist, Click here to get the answer.




Question 5:
List all the files in a directory on a web form. The files must be displayed in a gridview control. The name of the file and create date must be displayed, Click here to get the answer.

Question 6:
Give an example to show how to write and read a cookie from a client's computer, Click here to get the answer.

Question 7:
Write a reusable split function that can be used to split any given string with a given delimiter?


All Questions
ASP.NET
CSharp
SQL Server


All Questions
WCF
MVC
HR Round

Search This Site

12 comments:

  1. Thanks man... good stuff...

    ReplyDelete
  2. can you please post ASP.NET and C#,SQL SERVER 2005 objective type Questions?

    ReplyDelete
  3. how to create a login page using username and password

    ReplyDelete
  4. We want to add xmlfile in two dropdownlist like one dropdownlist contains states of country after that automatically contains all district of selected state of country in another dropdownlist in .net C#
    Please Help Me
    Atul

    ReplyDelete
  5. hi....
    This is an Interview question asked to me..

    How do you access a web service which is having windows authentication,where do you provide password for such web services.can any one tell me the answer

    ReplyDelete
  6. please post some objectives and oral sort of question asked in the interviews for trainees

    ReplyDelete
  7. Hi,you can use network credentials object and attach that to ur webservice

    ReplyDelete
  8. can you please write a program regarding the use of Captcha???

    ReplyDelete
  9. can u pls mail me all .net related question asked in interviews? pls
    email id:pratibha.sharma9@gmail.com

    ReplyDelete
  10. SIR YOU HAVE DONE GREAT JOB I AHVE READ ALL YOUR PAGES HAVIG BEST COLLECTION IN ALL SECTION....HARTLY THANKS

    ReplyDelete
  11. can u pls mail me all .net related question asked in interviews? pls.
    email id:pratikbhra@gmail.com

    ReplyDelete

If you are aware of any other asp.net questions asked in an interview, please post them below. If you find anything missing or wrong, please feel free to correct by submitting the form below.

 
Disclaimer - Terms of use - Contact Us | Internet Marketing