manishsawant
MIS
Hi,
I want to create a dynamic menu control in ASP.net 2.0 which would be based on database values.
For instance
There are 3 database tables named:
Catagories Products Sub-Products
---------- -------- ------------
id ProdId ProdId
Name CategoryID SubProdName
ProdName
Values would be
Categories
-----------
ID Name
1 Beverages
2 Dairy Products
Products
----------
ProdId CategoryId ProdName
1 1 soft drinks
2 1 tea
3 2 Milk
Sub-Products
------------
ProdId SubProdName
1 Coke
1 Pepsi
2 Ice tea
3 Butter
3 Cheese
I want the menus like
Categories
Beverages->soft drink->Coke
Pepsi
tea->Ice tea
Dairy Products->Milk->Butter
->Cheese
Can someone give me an idea about how to do this in ASP.net 2.0 using the menu control.
Thanks,
Manish
I want to create a dynamic menu control in ASP.net 2.0 which would be based on database values.
For instance
There are 3 database tables named:
Catagories Products Sub-Products
---------- -------- ------------
id ProdId ProdId
Name CategoryID SubProdName
ProdName
Values would be
Categories
-----------
ID Name
1 Beverages
2 Dairy Products
Products
----------
ProdId CategoryId ProdName
1 1 soft drinks
2 1 tea
3 2 Milk
Sub-Products
------------
ProdId SubProdName
1 Coke
1 Pepsi
2 Ice tea
3 Butter
3 Cheese
I want the menus like
Categories
Beverages->soft drink->Coke
Pepsi
tea->Ice tea
Dairy Products->Milk->Butter
->Cheese
Can someone give me an idea about how to do this in ASP.net 2.0 using the menu control.
Thanks,
Manish