A
amarrr
Hi,
I have just started working with ADO.NET and VB.NET and have a
question.
I have dataset with tables..
This table contains a 4 column called ID,name,IDacc,price. How can I
sum value in columns price where values in columns IDacc is equal....
For example. in table I have somthing like this.
ID name IDacc price
1 ak 2 26
2 zk 2 14
3 fh 3 13
and i try to have new DS.tables with this
numElements sum
2 40
1 13
I know It would be better to do calculation in the stored procedure or
inline SQL statmens that returns the result sets to the datatables, but
in this case i cant do that....
TnX...
I have just started working with ADO.NET and VB.NET and have a
question.
I have dataset with tables..
This table contains a 4 column called ID,name,IDacc,price. How can I
sum value in columns price where values in columns IDacc is equal....
For example. in table I have somthing like this.
ID name IDacc price
1 ak 2 26
2 zk 2 14
3 fh 3 13
and i try to have new DS.tables with this
numElements sum
2 40
1 13
I know It would be better to do calculation in the stored procedure or
inline SQL statmens that returns the result sets to the datatables, but
in this case i cant do that....
TnX...