|
-
Feb 17th, 2013, 03:22 AM
#1
Thread Starter
Member
subitems in combobox
Hi,
I have a database table as expense with columns master and submaster.
Now i need to show this values in combobox. if the value in master is a submaster of any master then it should be added as sub item of that...I know no one understood this...so below is an example
Database:
Master Submaster
------- -----------
Rent Home Rent
Etisalat Abu Dhabi
Rent Office Rent
Etisalat Dubai
Office Rent Car Rent
Abu Dhabi Mobile
Abu Dhabi Landline
Now in combobox it should display as:
Rent
>Home Rent
>Office Rent
>Car Rent
Etisalat
>Abu Dhabi
>Mobile
>Landline
>Dubai
I hope I have cleared my problem...Please help if anyone can
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|