Hi I have table like this in SQL anywhere database
CUSTID-------DDAT.----------AMOUNT
1. 01-01-2021. 1000
1. 02-02-2021. 2000
1. 03-02-2021. 3000
1. 04-02-2021. 4000
2. 01-04-2021. 1000
2. 02-04-2021. 2000
-
04-04-2021. 1000
I want data like this in VB.net where amount is only for one date and total amount is for 4 day
Cust id.------date ---------------Amount.-------Total amount
1. 04-04-2021. 4000. 10000
2. 04-04-2021. 1000. 4000
Can you give me any solution..thanks in advance