List categories AND records at once...

Ø

Øyvind Isaksen

Hi!

I have a SQL database with products stored in different categories.
When I click a category, I want to list all the subcategories WITH their
products.

Like this:

SubCategory 1 Name
Product 1
Product 2
Product 3

SubCategory 2 Name
Product 1
Product 2
Product 3

SubCategory 3 Name
Product 1
Product 2
Product 3


How is the "correct" way to do this in asp.net (VB.net)?
Thanks for all tips?
 
P

Patrick.O.Ige

You can easily use a Treeview webcontrol for that just BIND it to the any
datasource of your choice.
e.g Xml,DB etc..
Hope that helps
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top