R
Rich
Migrating from VB.Net to C# - I am sure that I can perform all the same
actions in C#. Right now working with a Datagridview control. The only
list of events I can see in C# for the Datagridview is in the Designer
window/Datagridview Properties under the Flash symbol. The event I am
looking for is the RowEnter event, which I do not see under this list of
events under the Flash symbol. So I wrote this event as follows except it is
not firing - how do I hook it up to the Datagridview?
private void dgrv1_RowEnter(object sender, DataGridViewCellEventArgs e)
{
Console.WriteLine(e.RowIndex.ToString());
}
I use this event in VB.Net all the time. So I am sure it is available in C#
- maybe under a different event name?
Thanks,
Rich
actions in C#. Right now working with a Datagridview control. The only
list of events I can see in C# for the Datagridview is in the Designer
window/Datagridview Properties under the Flash symbol. The event I am
looking for is the RowEnter event, which I do not see under this list of
events under the Flash symbol. So I wrote this event as follows except it is
not firing - how do I hook it up to the Datagridview?
private void dgrv1_RowEnter(object sender, DataGridViewCellEventArgs e)
{
Console.WriteLine(e.RowIndex.ToString());
}
I use this event in VB.Net all the time. So I am sure it is available in C#
- maybe under a different event name?
Thanks,
Rich