471,317 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

Why doesn't event reload?

For some reason, this method is not hit after I unload/reload it. I'm
doing this in a datagrid event:

void dtConversion_RowChanged(object sender, DataRowChangeEventArgs e)
{
dtConversion.RowChanged -= new
DataRowChangeEventHandler(dtConversion_RowChanged) ;
...some code that assigns values into cells
dtConversion.RowChanged += new
DataRowChangeEventHandler(dtConversion_RowChanged) ;
}

I see that both unloading and reloading of the event is run in the
debugger. However, this method is never hit after the initial
unloading. If the method is reloaded, why isn't it being hit again?

Thanks,
Brett

Feb 16 '06 #1
0 894

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Eric George | last post: by
1 post views Thread by Christian Sengstock | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.