Sunday, 14 June 2015
1. Before starting the code for conversting the HTML to PDF using ITextSharp you need to download the ITextsharp Dll and placed it into the Bin folder. You can get the ItextSharp Dll from below path;
2. Now you want to generate the PDF, by clicking any of the button in your page, You have to place the below code on your C# file and there it will pass the HTML content to the Export method where it is using the ItextSharp methods for converting the HTML to PDF..
protected void btnGeneratePDF_Click(object sender, EventArgs e)
StringWriter sw = new StringWriter();
HtmlTextWriter hw = new HtmlTextWriter(sw);
// string redirectUrl = HttpContext.Current.Request.Url.AbsoluteUri;
You will like to read it
1. Before starting the code for conversting the HTML to PDF using ITextSharp you need to download the ITextsharp Dll and placed it int...
Basically for any application we need a login page. Now demonstrating angularjs with MVC login form tutorial. Please see the step by ste...
Step by step process to bind MVC.Grid in MVc application Grid will be display like below
In this article I will demonstrate you how to create rdlc report in asp.net. Microsoft made it very simple to generate PDF by using the...