PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
How to determine when a DataGridView's DataSource is finished being populated
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
How to determine when a DataGridView's DataSource is finished being populated
![]() |
How to determine when a DataGridView's DataSource is finished being populated |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
This would seem to be a fairly simple and straight forward thing to do.
So sorry if this has been answered somewhere already, but I have not been able to find the answer. I am creating a custom DataGridView component and need a way to determine when the DataGridView's DataSource has been populated so that I can perform some necessary processing. TIA |
|
|
|
#2 |
|
Guest
Posts: n/a
|
With VS2005 you can use the DataSourceChanged event.
"johneevo" <johne_evo@no_spam_yahoo_nope.com> wrote in message news:MPG.1e9d9431d894c0fd989683@msnews.microsoft.com... > This would seem to be a fairly simple and straight forward thing to do. > So sorry if this has been answered somewhere already, but I have not > been able to find the answer. > > I am creating a custom DataGridView component and need a way to > determine when the DataGridView's DataSource has been populated so that > I can perform some necessary processing. > > TIA |
|
|
|
#3 |
|
Guest
Posts: n/a
|
In article <evwxaXMWGHA.3972@TK2MSFTNGP02.phx.gbl>, NOSPAMJ3033
@Hotmail.com says... Hi Jim, Looks like I wasn't real clear in my description of what my problem is. I don't need to trap for when the DataSource property is changed. What I am looking for is a way to trap for when the DataSet's DataTable has been populated with data. Say the end developer has issueds a call to the Fill method. I need to trap for the completion of the Fill method. Thanks for the response, sorry for the confusion. > With VS2005 you can use the DataSourceChanged event. > > "johneevo" <johne_evo@no_spam_yahoo_nope.com> wrote in message > news:MPG.1e9d9431d894c0fd989683@msnews.microsoft.com... > > This would seem to be a fairly simple and straight forward thing to do. > > So sorry if this has been answered somewhere already, but I have not > > been able to find the answer. > > > > I am creating a custom DataGridView component and need a way to > > determine when the DataGridView's DataSource has been populated so that > > I can perform some necessary processing. > > > > TIA > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

