Click here to Skip to main content
16,012,173 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
1.Am creating two pages .
2.Both pages using back ground worker in Page_load function.both are report pages.
3.First open click First report here backgroundworker is running .
4.Same time am going to menu bar open the Second Report ,
backgroundworker is running in page load.
5.But first page background_dowork get and error and its stopped,no data is found.
6.Suppose am not open the second report first report get data.

This is my Problem .
How to solve this . I dint get any ideas.
If any one know please give your valuable solutions.

Thanks
pavan
Posted
Comments
Sergey Alexandrovich Kryukov 11-May-12 11:54am    
Pages? Is it ASP.NET?! Anyway, what's the application type or UI library? You need to tag it and add other related information, if you need some help.
--SA

1 solution

In a nutshell: using threading in the ASP.NET process is pretty much useless. Think about the Web operation: all the run time of the server-side code of any ASP.NET page lies between HTTP request by the client and HTTP response your code should generate.

—SA
 
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