Dear All,
I have problem with how to auto sort newly added DataRow on DataSet.Tables and the my problem is like this ..........................
DataSet.Tables(0) is from "select date, amount, balance from mytalbe order by date"
Now after new row (DataRow) added I want to go through row by row to update my balance fill with the current amount + previous balance
balance = amount + previous amount
Till the new row is always more than existing date on table then it is okey but when you add new row with previous date than existing dates on table. My row by row goin to make goes wrong coz the newly added row index is +1 more than exsting rows index.
Any Help Will Be Greatly Appreciated
Dharanko
Nepal
Opps Sorry For My Poor English Language
I have problem with how to auto sort newly added DataRow on DataSet.Tables and the my problem is like this ..........................
DataSet.Tables(0) is from "select date, amount, balance from mytalbe order by date"
Now after new row (DataRow) added I want to go through row by row to update my balance fill with the current amount + previous balance
balance = amount + previous amount
Till the new row is always more than existing date on table then it is okey but when you add new row with previous date than existing dates on table. My row by row goin to make goes wrong coz the newly added row index is +1 more than exsting rows index.
Any Help Will Be Greatly Appreciated
Dharanko
Nepal
Opps Sorry For My Poor English Language
