Data Grid View Validating Event
Posted on 2010-08-12
How do I trigger the Data Grid View Validating event from an external event like a Button Press?
I tried doing something like this. But doesn`t work.
private void TestBut_Click(object sender, EventArgs e)
GridView.CellValidating +=new DataGridViewCellValidatingEventHandle (GridView_CellValidating);
private void GridView_CellValidating(object sender, DataGridViewCellValidatingEventArgs e)
What if I want to trigger the Validating events from a different form?