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.
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.
Token A^*!%~Token B^*!%~Token C^*!%~Token D^*!%~Token E
Token E^*!%~Token D^*!%~Token C^*!%~Token B^*!%~Token A
Click here to get the answer for question 1
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.
Reading and writing to an XML file. Click here to get the answer.
Write a custom reusable function to populate a dropdownlist, Click here to get the answer.
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.
Give an example to show how to write and read a cookie from a client's computer, Click here to get the answer.
Write a reusable split function that can be used to split any given string with a given delimiter?