Selecting an item in an ASP.NET DropDownList Programmatically
This tip shows how to select an item in an ASP.NET DropDownList control programmatically.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Selecting an item in an ASP.NET DropDownList Programmatically

Bhushan JoshiPosted Oct 24, 2008, 5:00 AM EDT
Hi, Currentlly i am working on a web application where i require to fill the web form with the selected item in a text box. for example i have dropdown control named supplier_name, and i want to fill all the other controls values from database on the form when i select name from that supplier_name box,i.e , if i select name1, then related to that name, its code,address ,city should appear on related text boxes. I have done the same in windows application with c# , but the problem with web application(asp.net) is that, when i select Supplier _ it reloads the page and i loose the values in that combo box...i have heard of postback method but i donno how to use it to implement the same. please any one send me answer