slow webviewerFX
Posted: Wed Apr 28, 2010 4:24 pm
Hi,
i have 5000 record on database, i should render all data, but viewer very slow. this my sample code..
DataController refmt = new DataController();
DataSet dtDaftar = refmt.GetRpt(cYear);
dtDaftar.Tables[0].TableName = "DataYear";
StiReport report = new StiReport();
string strpath = Server.MapPath("rpt.mrt");
report.Load(strpath);
report.Dictionary.DataSources.Clear();
report.Dictionary.Databases.Clear();
report.Dictionary.DataStore.Clear();
report.RegData(dtDaftar);
report.Dictionary.Synchronize();
report.Compile();
WebVwrFx.Report = report;
thank you
i have 5000 record on database, i should render all data, but viewer very slow. this my sample code..
DataController refmt = new DataController();
DataSet dtDaftar = refmt.GetRpt(cYear);
dtDaftar.Tables[0].TableName = "DataYear";
StiReport report = new StiReport();
string strpath = Server.MapPath("rpt.mrt");
report.Load(strpath);
report.Dictionary.DataSources.Clear();
report.Dictionary.Databases.Clear();
report.Dictionary.DataStore.Clear();
report.RegData(dtDaftar);
report.Dictionary.Synchronize();
report.Compile();
WebVwrFx.Report = report;
thank you