I need to replicate this code on a DBGrid.
What it basically does is re-numbers column 0 (replaces it's contents with inc numbers 1 to end)
The code below works on a istView but I have no clue of how to code the same thing for a DBGrid.
Here's the code:
for i := 0 to listView1.Items.Count-1 do
Hope you can help!