Fastreport pdf export4/27/2023 ![]() ![]() Return File(stream, "application/xlsx", "report. Return File(stream, "application/zip", "report.pdf") Įxample for Excel 2007: using dataSet = new () ĭataSet.ReadXml(report_path + "nwind.xml") NuGetInstall-Package -Version 2022.3. Installation FastReport can be compiled from sources or installed from NuGet packages. ![]() ![]() Home : name of the controller (eg: HomeController.cs)Īdd the name space in the controller: using Īdd method GetFile in the controller: public FileResult GetFile() Exporting FastReport Open Source can save documents in HTML, BMP, PNG, JPEG, GIF, TIFF, EMF. When using FastReport.Net together with the ASP.Net MVC framework there is an easy method for creating a file in any supported format from a button press on the HTML form.Īdd this code in the View: (Html.BeginForm("GetFile", "Home")) ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |