How to Convert the Page into PDF in ASP.Net. I have used the following Code to convert the page into PDF but i'm getting an error as invalid pdf format.
The Code is As follows :
Response.ContentType = "application/vnd.pdf";
Suggest me how to convert the page content type to PDF or give me some sample code which would help me in solving this problem