i have two datatable return sql query
Table A (return sql pivot table salesid)
cid sales1 sales2 sales3 .....
001 10 30 50
002 40 60 80
Table B
cid sid Amount
001 sales1 20
001 sales2 55
001 sales3 66
002 sales1 15
....
i want to two table merge and fill datagridview
cid sales1 sales1_Amount Sales2 Sales2_Amount .....
001 10 20 30 55