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
///
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.