Click here to Skip to main content
15,892,253 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi To All......!
Please Help Me To Solve My Problem.

I Have Developed A Payroll Software. Here I've Excel Sheet With Employee Information With Their Salary Structure. What I am Doing Is I have Designed One Form Where I Make User To Select Excel Sheet And Then Transfer The Data From Excel Sheet To My Data Base. It Is Working Fine Without An Error.

The Only Problem I Have Is I am Unable To Show Progress Bar While Transferring Data. I Have Written All The Code In A Class File And On Button Click Of My Form I Have Call The Function Of That Class.

Please Help Me........!

Thanks & Regards

Sanket Patil
Posted
Comments
Peter_in_2780 23-Aug-10 3:41am    
Reason for my vote of 1
Cross-post. Ask your question ONCE only.

1 solution

There are a few ways to implement progress bar functionality in this
case. On of the easiest is to make use of a (hidden) iframe (and that way, automatically use a seperate thead).

So you could implement a "worker" aspx (process starts
on page load) and put that worker as src of an iframe control.

The worker then uses javascript (calls a parents' javascript function) to update the progress from time to time.

If you like that idea, i would go more into detail or provide an example. Or you could google for "long running process asp.net iframe"
e.g.
 
Share this answer
 

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