Tying to Populate a text boxes on a Form after a dropdown list box selection has been made,

  • Thread starter Thread starter Dee via .NET 247
  • Start date Start date
D

Dee via .NET 247

Hi,

I have a dropdown list populated with data pulled from a database usinf a data reader. I want to be able to populate textboxes on a form that is on the same page, with data pulled fromthe same database table used to populate the dropdown list. Iam VERY new to ASP.net, and I don't know how to write the codeto get the data into a reader that populates separate text boxeson a form populated with the data. Can anyone help me?
 
Hi Dee,

Have a look at the dataset (datatable)

Keywords to look at msdn are dataadapter and datasource and not forget
databind in asp.

Another thing you can do is download the aspnet resource kit with lots of
walkthroughs and samples.

http://msdn.microsoft.com/asp.net/asprk/

I hope this helps?

Cor
 
Back
Top