>I need to chage line in a datagrid control.
>fo example i need to insert a value to the first colunm of every line.Anyone can help me?!?
You need to play with the Row property
With grdResult
For intRow = 0 To .ApproxCount - 1
.Columns(0).Value = intRow 'Your new value here
On Error Resume Next
.Row = .Row + 1
On Error GoTo 0
Next intRow
End With
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com