Need help with datagrid in ASP .NET VS 2003?

  • Thread starter Thread starter MrElam
  • Start date Start date
M

MrElam

Guest
I have an ASP .NET page with a datagrid on it. In this datagrid are two dropdownlists and one text box. The first dropdownlist contains a list of "Types". When a Type is chosen from this list, the datasource for the second dropdownlist (Description) should contain only those that match the Type chosen. I have this working by using a datareader on the SelectedIndexChange of the Types dropdownlist. But I want to add a datavaluefield that's different than the datatextfield on the Description, because when I choose a description, I would like that to fill in the text box with a number related to that description. Keep in mind these are all inside a datagrid. Can anyone tell me how to do this?
 
Back
Top