Hai,

I was wondering if it is possible to get the columns sums in a ListBox. Let me illustrate a example to be more precise:


[Highlight=VB]
1 0 0 0 0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0 0 0 0 0
0 0 0 0 0 0 0 1 1 0 0 0
0 0 0 0 0 0 0 0 1 1 0 0
0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 1 0 0 1 0 0
0 1 0 0 0 1 0 0 0 1 0 1
0 1 0 0 1 0 0 1 1 1 0 0
1 0 0 0 1 1 1 0 0 0 0 1
2 2 0 1 3 2 3 2 3 4 0 2
[\vbcode]

Notice that the last row is the column sums......, How can this can be done. Any help/ideas/code highly appreciated....,

Thanks in abvance...,

ashky