I'm working on a Windows Form that's got two DataGrids.
I'm currently trying to make it so that when one cell is selected in DataGridView1, something else is being displayed in DataGridView2.
The problem is that when I run my app, selecting any of the cells doesn't do anything at all.
I've tried using
private void DataGridView1_SelectionChanged(object sender, EventArgs e)
{
MessageBox.Show("The selected cell has changed!");
};
to check and see if the event is registering, and nothing happened.
The SelectionMode for the DataGridView is set to CellSelect.
What am I doing wrong?
Thanks In Advance.