By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,459 Members | 1,472 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,459 IT Pros & Developers. It's quick & easy.

Win Form datagrid row change event??

P: n/a
Is there such a thing as a row change event in Win Forms? I can't
seem to find anything similar, I'm using CurrentCellChanged but that
gets fired mulitple times and its not the correct event for me to
use.

thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You should use CurrencyManager.CurrentChanged event for that:

CurrencyManager cm =
(CurrencyManager)this.BindingContext(dataGrid.Data Source,
dataGrid.DataMember);
cm.CurrentChanged += new EventHandler(CurrentRowChanged);

HTH,
Alexander

"djam" <on*********@yahoo-dot-com.no-spam.invalid> wrote in message
news:42**********@127.0.0.1...
Is there such a thing as a row change event in Win Forms? I can't
seem to find anything similar, I'm using CurrentCellChanged but that
gets fired mulitple times and its not the correct event for me to
use.

thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.