I have a table containing three fileds Name , city, Marks If I select name filed in dropdownlist box i want the rest of the fields to be displayed in Text boxes Thanks in advance.
Is the data being pulled from a database? If so your going to need to take a look at ajax and javascript to populate the text fields. http://www.w3schools.com/Ajax/ajax_example.asp
You don't need to use AJAX, but it would be suitable. If your using ASP.NET, just add an event to the dropdownlist 'OnSelectedIndexChanged'... and add code that populates the textboxes with the data from database, I'm assuming your using a database.
or load every thing into javascript and change the values of the text boxes using javascript ... AJAX or using the event handler would be much easier and cleaner
loading all values to javascript and simply changing the values would do the job, however the bigger your database the bigger the javascript would be and therefore would need more time to load. I would recommend using AJAX for that.
create a method whici will store information,bind the ddl with object data source and then show in ur textbox