View Single Post
  #4 (permalink)  
Old 04-27-2008, 02:35 PM
Xav's Avatar   
Xav Xav is offline
Code Slinger
 
Join Date: Mar 2008
Location: The North Pole
Posts: 11,038
Last Blog:
Web slideshow in JavaS...
Credits: 1
Rep Power: 86
Xav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud ofXav has much to be proud of
Send a message via MSN to Xav
Default Re: Merging datasets based upon primary key

Well, if it works, then there shouldn't be too much of a problem. Just make sure that you use the Application.DoEvents() command - that way, it won't jam up the rest of program whilst the program is looping through the hundreds of rows...

It might make it a tad slower, but it's probably worth it to stop the rest of the program freezing. Maybe you could implement a check box labelled "Keep User Responsive" - if it's checked, then use DoEvents(), and if not - well, it's their fault if their computer gums up.
__________________


Mr. Xav | Website | Forums | Blog
Reply With Quote