Roland,
I haven't used a grid, but I've data bound enough controls ... try setting the BindingContext Postion after you've set the DataBinding.
~~Bonnie
>Hi Cathi,
>
>I tried the following and it did not seem to work.
>
> Me.SqlDataAdapter1.Fill(Personnel01_Ds1, "Personnel")
> Me.BindingContext(Me.Personnel01_Ds1, "Personnel").Position = 0
> If Personnel01_Ds1.Tables("Personnel").Rows.Count > 0 Then
> Me.dgPersonnel.SetDataBinding(Personnel01_Ds1, "Personnel")
> Else
> Me.dgPersonnel.DataBindings.Clear()
> End If
>
>The datagrid row position (the row > selector) still was on another position down the grid. Not on the first row.
>
>Any suggestions?
>
>Hope you had a good New Year!
>
>Thanks
>Roland
>