How do I put a link to every value in my drop down list that's being populated from database?
I have a drop down list named ddColorList and I wanted that when a color is selected it will go to a page
containing the product image on that color.
I have a class named ProductsDB that connects/calls stored procedures.
And below is the code where I populate values for ddListColors:
ClothingLine.ProductsDB products = new ClothingLine.ProductsDB();
ddListColors.DataSource = products.GetColorNames(modelNum);
ddListColors.DataTextField = "ColorName";
ddListColors.DataValueField = "ProductID";
To illustrate further what I have said above, when I select a color for example I want it to go
to the ProductsDetails page. It goes to the ProductDetails of the ProductID..
Can anyone offer some assistance, please?? I would really appreciate it. This is urgent. Thanks!