N
nicholas
Hello,
Got a kind of e-commerce site.
There are products with product options, such as color, size, etc
All are defined a table:
tbl_products: the table with the products.
tbl_options: the table with the options (Columns are: optionID,
parentoptionID, optionname).
Ex. of content for tbl_options:
1, 0, color
2, 1, yellow
3, 1, green
4, 1, blue
5, 0, size
6, 5, small
7, 5, medium
8, 5, large
I want a webpage that generates the product info from tbl_products (that's
no problem)
and that generates a way of selecting the options from tbl_options.
The user can select the options and add the product to the shopping cart.
So, a dynamically created dropdown would be great, but it could also be done
with a dynamically created radiobuttonlist.
Ex:
color: [here comes dropdown1 with: yellow, green, blue]
size: [here comes dropdown2 with: small, medium, large]
It should be an obvious problem as almost all e-commerces offer the ability
to select options for a product.
I really hope someone can help me implement this in asp.NET, or at least
tell me where to find a tutorial.
NB: I code in VB.net.
Thanks in advance,
Nic
Got a kind of e-commerce site.
There are products with product options, such as color, size, etc
All are defined a table:
tbl_products: the table with the products.
tbl_options: the table with the options (Columns are: optionID,
parentoptionID, optionname).
Ex. of content for tbl_options:
1, 0, color
2, 1, yellow
3, 1, green
4, 1, blue
5, 0, size
6, 5, small
7, 5, medium
8, 5, large
I want a webpage that generates the product info from tbl_products (that's
no problem)
and that generates a way of selecting the options from tbl_options.
The user can select the options and add the product to the shopping cart.
So, a dynamically created dropdown would be great, but it could also be done
with a dynamically created radiobuttonlist.
Ex:
color: [here comes dropdown1 with: yellow, green, blue]
size: [here comes dropdown2 with: small, medium, large]
It should be an obvious problem as almost all e-commerces offer the ability
to select options for a product.
I really hope someone can help me implement this in asp.NET, or at least
tell me where to find a tutorial.
NB: I code in VB.net.
Thanks in advance,
Nic