Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / ADO.NET / April 2006

Tip: Looking for answers? Try searching our database.

How to determine when a DataGridView's DataSource is finished being populated

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
johneevo - 05 Apr 2006 14:46 GMT
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
Jim Hughes - 05 Apr 2006 16:30 GMT
With VS2005 you can use the DataSourceChanged event.

> 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
[quoted text clipped - 5 lines]
>
> TIA
johneevo - 05 Apr 2006 18:31 GMT
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.
>
[quoted text clipped - 7 lines]
> >
> > TIA

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.