Can you point me to some links for exporting form data to PDf and saving the data to sql server backend(ASPNetMVC)
Loading
Can you point me to some links for exporting form data to PDf and saving the data to sql server backend(ASPNetMVC)
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
aKorantengPosted Aug 30, 2023, 10:14 PM
Tahir,
Thanks for the response and awesome links; Can you provide me similar links using webforms figuring my MVC skills/ASPNEtCore is only begiinner level
Thanks
Tahir AnsariPosted Aug 30, 2023, 3:23 PM
1. Exporting Form Data to PDF:
- [Generating PDFs in ASP.NET Core](https://docs.microsoft.com/en-us/aspnet/core/reporting/pdf-operations?view=aspnetcore-5.0): This official Microsoft documentation provides guidance on generating PDFs in ASP.NET Core using the `DinkToPdf` library.
- [Creating PDFs in ASP.NET MVC using iTextSharp](https://www.c-sharpcorner.com/UploadFile/f2e803/creating-pdfs-in-Asp-Net-mvc-using-itextsharp/): This tutorial demonstrates how to create PDFs using the iTextSharp library.
2. Saving Form Data to SQL Server:
- [Entity Framework Core in ASP.NET Core](https://docs.microsoft.com/en-us/ef/core/): Learn about using Entity Framework Core to work with databases in ASP.NET Core applications.
- [ASP.NET MVC Entity Framework Database First](https://www.c-sharpcorner.com/UploadFile/1c8574/Asp-Net-mvc-entity-framework-database-first-approach/): This tutorial covers using Entity Framework Database First approach in ASP.NET MVC.
3. Combined Approach - Exporting Form Data and Saving to SQL Server:
- [How to Generate PDF in ASP.NET MVC Using Rotativa](https://www.c-sharpcorner.com/UploadFile/3d39b4/how-to-generate-pdf-in-Asp-Net-mvc-using-rotativa/): Demonstrates exporting HTML to PDF using Rotativa and saving data to SQL Server.
- [Generating PDFs in ASP.NET Core MVC with DinkToPdf and EF Core](https://www.talkingdotnet.com/generate-pdf-in-asp-net-core-mvc-using-dinktopdf/): This tutorial covers generating PDFs using DinkToPdf and Entity Framework Core.