Hi
How i can Decrease the report file Loading Time? I Use this Code to Load a Report File
reportDocumnet.Load(reortFilePath);
but the first time loading is very long.
just in first time running this code
i want use a way to run this line of my code speedly
-
Some people load a report in background thread on program startup. Then the massive crystal libraries will be loaded when user runs the first report.
hosseinsinohe : that right i want use other ways pleaze help meFrom dotjoe -
How much time spent in the SQL/data plan generation? Can you create a view in your database to speed up the content resolution? Can you cache previously generated reports that have the same query parameters?
hosseinsinohe : just this line of my code runing in long time(in first time) And this not realated to load dataFrom Jarrett Meyer -
To follow on with what has been said about preloading crystal libraries have a look at this article
dotjoe : bold move linking to expert sexchange :) why can you only see the answers if linked from google search? http://www.google.com/search?q=Slow+opening+of+Crystal+Reports+in+.NET+Run+time&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-aDavid : @dotjoe Bizarre! Changed link to ensure anyone using will reach answer. Thanks.From David
0 comments:
Post a Comment