Eran,
This you can try, and than do the rest yourself because what you did not
tell was, if you want a column number of the datagrid or from a kind of
datasource and as well not if you use datagridstyles. By the way I have
assumed that it is for a windowforms datagrid.
\\\
Private Sub DataGrid1_CurrentCellChanged(ByVal sender As Object, _
ByVal e As System.EventArgs) Handles DataGrid2.CurrentCellChanged
Dim GridColumn As Integer = _
DirectCast(sender, DataGrid).CurrentCell.ColumnNumber
End Sub
///
I hope that this helps?
Cor
"Eran AMiel" <Er*******@discussions.microsoft.com>
Hi
I need to get selected column name or index when user select one
on datagrid.
--
Thank For The Help
Eran