Initially, the textboxes are hidden, and will be shown when the
SelectedIndexChanged[
^] event of the DropDownList has been triggered. You do this by setting the
Visible[
^] property of the textbox to true. You should have some condition on your code that checks what textbox to show/hide. As for the retrieval from your database, you may want to read more about ADO.Net. Its actually pretty straightforward, and there are a lot of articles out there if you only use Google, so I leave that as a homework for you. Now I hope I have left some points for you to get started. Try writing the code now and let us know if you have issues along the way. Good luck.