How can I get the Column Name from a datagrid when a cell is selected. I have the column number of the selected cell and I have been trying to do something like:
VB Code:
  1. myGrid.Column(selectedCell.ColumnNumber).Name
I know this code is invalid, but it illustrates what I am trying to do. Anyone do this before?