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 | ||
You had done good job.
ReplyDeleteThanks man... good stuff...
ReplyDeletecan you please post ASP.NET and C#,SQL SERVER 2005 objective type Questions?
ReplyDeletehow to create a login page using username and password
ReplyDeleteWe 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#
ReplyDeletePlease Help Me
Atul
hi....
ReplyDeleteThis 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
please post some objectives and oral sort of question asked in the interviews for trainees
ReplyDeleteHi,you can use network credentials object and attach that to ur webservice
ReplyDeletecan you please write a program regarding the use of Captcha???
ReplyDeletecan u pls mail me all .net related question asked in interviews? pls
ReplyDeleteemail id:pratibha.sharma9@gmail.com
SIR YOU HAVE DONE GREAT JOB I AHVE READ ALL YOUR PAGES HAVIG BEST COLLECTION IN ALL SECTION....HARTLY THANKS
ReplyDeletecan u pls mail me all .net related question asked in interviews? pls.
ReplyDeleteemail id:pratikbhra@gmail.com