Excuse my bad english :$
my column(5):
0
1
2
3
after changed (moved) 3
0
0.99 (ex 3)
1
2
After an order by column(5) (order automatic by my DataTable) I want set the value of the cell(5) like the row.index.
I can’t do it because the Row.index that I view in the grid isn’t the index of my record
For i As Int32 = 0 To Grid1.DataRows.Count – 1
Grid1.DataRows(i).Cells(5).Value = i ‘<<<<<<< if i = 1 the DataRows(i) isn’t the first row that I see in the grid!? It’s always index of record 2!
Next
I will need of the CurrencyManager?
Code, plz 🙂
bye
Imported from legacy forums. Posted by AndreaZ (had 2550 views)