how to run .frx file directly
protected void Button1_Click1(object sender, EventArgs e)
{
int count = 1;
using (FastReport.Report report = new FastReport.Report())
{
report.Load(@C:\one.frx);
report.Prepare();
foreach (PageBase item in report.Pages)
{
string fileName = string.Format("myReport_{0}.png", count);
report.Export(new FastReport.Export.Image.ImageExport() { PageRange = PageRange.Current, CurPage = count }, fileName);
count++;
}
}
but not show ing anything
any other way i can run .frx file from my aspx application.
pls. help me.
saul
{
int count = 1;
using (FastReport.Report report = new FastReport.Report())
{
report.Load(@C:\one.frx);
report.Prepare();
foreach (PageBase item in report.Pages)
{
string fileName = string.Format("myReport_{0}.png", count);
report.Export(new FastReport.Export.Image.ImageExport() { PageRange = PageRange.Current, CurPage = count }, fileName);
count++;
}
}
but not show ing anything
any other way i can run .frx file from my aspx application.
pls. help me.
saul
Comments
It is possible your application is outputting your images to an unexpected location.
can you pls. give me a solution that i can run .frx file from my laptop directly run and load in aspx webform page.
also, i want to make parameter from webform that should go to fast report.
pls. help me and give code.
savool