Hi All,
In DB, a table with columns:
ID, Name & RootID.
Purpose of this table is to create/store multi-level categories within same table with different levels. Like Categories, Subcategories where categories with rootid 0 and subcategories with rootid of categories id and further other subcategories or child subcategories with rootid of subcategories and further categories with rootid of child subcategories.
Example:-
============
id name -> rootid
1 a -> 0
2 b -> 1
3 c -> 2
4 d -> 3
5 e -> 4
6 f -> 5
7 g -> 6 etc
At Design side, when level 1 drop down list is selected, if the selected item has a subcategory, then another drop down list should be populated dynamically with it respective subcategory items.
Regards,
Rajendra Prasad