Link to home
Start Free TrialLog in
Avatar of emi_sastra
emi_sastra

asked on

Show Group And Detail Using Datagridview.

Hi,

I have table below:

TableA:

1. ItemCode
2. ItemName.
3. ItemGroup.

Data:

ItemCode   ItemName   ItemGroup
SFD             Softdrink    
CCL            Coca Cola    SFD            
FNT             Fanta           SFD            
SPR             Sprite          SFD            
ACL             Alcohol
TQL             Tequila        ACL
VDK             Vodka         ACL

I want to show it to datagridview like below:

SFD - SoftDrint
     CCL - Coca Cola
     FNT - Fanta
     SPR - Sprint

How could I do it?

Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of emi_sastra
emi_sastra

ASKER

Hi Dhaest,

It helps.

Thank you very much for your help.