Hierarchical lists in DropDownLists

P

p.mc

Hi all,

I'm writing an image cataloguing system in asp.net and SQLserver. The
system allows hierarchical keywords to be added to the image records.

I've represented the keywords in tables with 'id' and 'text' fields for
each keyword. The table of second level keywords also has a 'parentID'
field linking it to one keyword from the first level.

I am successfully displaying both levels of keywords in ddl's in a
datagrid but I now want to filter the second level values based on the
image id of selected first level keyword.

The dropdownlists are bound to Dataviews so I guess filtering the
dataview is the correct way to go? What's the best way of going
about this? and how can I reload the values in the second list after
changing the selected value in the level one ddl?

Thanks in advance for any help,

Paul
 

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,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top