Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

add 2 datatable values based on id

$
0
0
Hi All,
I have 2 data table in my application and want to create a new table from those 2 tables.
The table1 contains data like
1 asd 500
2 bns 0
3 jvk 850
4 irs 250
5 lop 100
6 muo 350

The tabl2 contains data like
1 asd 1500
2 bns 1600
3 jvk 1550
4 irs 0
5 lop 1000
6 muo 3500

And I want to create a table from those 2 tables like:

ID DESC QTY

1 asd 2000
2 bns 1600
3 jvk 2400
4 irs 250
5 lop 1100
6 muo 3850

how can i achieve this. Any suggestion would be appreciated. Thanks

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>