I have a category Table and a subcategory Table
In category Table
| Id | category | image |
In subcategory Table
| Id | subcategory | image | description | cid |
The ID is identity in both the tables ..
CID in subcategory table refers to ID in category table .
I have to design horizontal menu and data should populate dynamically from database.
Sanjeeb LenkaPosted Jul 29, 2013, 2:43 AM
Refer to this link it quite related to your scenario
http://www.dotnetspark.com/kb/3621-using-datalist-to-list-categorysubcategory.aspx
Iftikar HussainPosted Jul 29, 2013, 2:23 AM
Please refer the below link
http://www.codeproject.com/Tips/354696/Dynamically-populating-menu-items-from-the-databas
Regards,
Iftikar