In this article ,i am explaining you how to create pdf file from datatable.i am passing a datatable in this function and code to convert this in pdf file.I am using iTextSharp you can download it from internet. it is free.you need to create a simple asp.net page and get data from database.Then pass it to ExportToPDF method.We can set PDF page margins,...