Hi,
Please help me, Im trying to get the value of Cell[0] from the selected row in a SelectionChangedEvent.
I am only managing to get lots of different Microsoft.Windows.Controls and am hoping im missing something daft.
Hoping I can get some help from here...
private void datagrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
Microsoft.Windows.Controls.DataGrid _DataGrid = sender as Microsoft.Windows.Controls.DataGrid;
}
I was hoping it would be something like...
_DataGrid.SelectedCells[0].Value;
However .Value isn't an option....
Many many thanks this has been driving me mad! Dan