I need some help., i am using vb.net and javascript.
I have dataset like this,
Row Price ProductID Region
1 100 12345 JK1
2 100 12345 JK2
3 100 23456 JK1
4 100 23456 JK2
i need the result JK1 = 200 and JK2 = 200. Result is SUM all price with grup by region. May be in SQL this is so simple, but in programming i haven't try.
I need the algoritm in vb.net or javascript. The problem is, the region have a lot of variation that i dont know how much that is.
can some one help?