Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I would like to use a progress bar with SqlBulkCopy, but am unable to find any examples. Can the ajax progress bar be used in conjunction with SqlBulkCopy?
Posted

1 solution

While the answer is yes - a reasonable reply to a *very* similar question can be found here:
http://forums.asp.net/p/1664000/4345775.aspx/1?Re+Using+ajax+progress+bar+with+SqlBulkCopy[^]

Design some kind of Thread/SqlConnection/SqlBulkCopy management object and assign it to a Session["OperationIdentifier"] - poll peridically for progress.

You may even be tempted to use comet[^], at least it's an option :)

Regards
Espen Harlinn
 
Share this answer
 
Comments
fjdiewornncalwe 17-Mar-11 18:45pm    
Excellent thoughts on the matter.
Espen Harlinn 18-Mar-11 4:53am    
Thank you, Marcus!
Albin Abel 18-Mar-11 0:41am    
Nice Idea. My 5
Espen Harlinn 18-Mar-11 4:54am    
Thank you, AlbinAbel!
sairam.bhat 18-Mar-11 5:16am    
yes sir good answer mine is +5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900