Export Excel File Title

Hello there. Please help. I'm trying to export an excel file but I can not find a way to change the default name in c#. Is to easy with pdf files with Title prop but with excel object i can't.

Comments

  • FastReport.Web.WebReport wr = new FastReport.Web.WebReport();

    string frx = Path.Combine(_env.ContentRootPath, "reports", value.file);

    wr.Report.Load(frx);

    wr.Report.FileName = value.label;

    wr.Report.RegisterData(data1, "NorthWind");

    demo => http://fr.somee.com/demo

Leave a Comment