Header Ads

Export ASP.Net GridView to PDF using iTextSharp

Many users facing an issue with Export asp.net gridview to PDF that iTextSharp ignores the GridView column widths.

To avoid that, we have to create Tables with ITextSharp library and specify the column width and height as per our requirements. Thus we can create an ITextSharp table with same number of rows and columns as our GridView and specify the column widths for that ITextSharp table. This ensures that the custom column widths that we specify are not ignored in the generated PDF.

Check the Source article at aspsnippets.com

Check the Live Demo here

5 comments:

  1. The popularity of government jobs in India doesn’t need a clarification and it’s not for nothing. It not only provides you with a relaxed and secure job but offers you ample opportunities to grow and reach a much higher position in the hierarchy than the one you started with.
    government jobs in tamilnadu

    ReplyDelete
  2. Governments in India, whether or not Central or State, commonly, ask for applications from suitable applicants both via offline methods or through on line strategies. The offline approach is getting used much less and much less in recent times and normally, all government task utility methods are shifting to finish online structures.

    free job alert hp

    ReplyDelete
  3. When packing for a move, sooner or later you’ll get to packing a few cables here and there in the residence. In maximum cases, the ones cables can be electricity cords of digital devices and electric household home equipment but you’ll additionally get to packing connection cables of diverse peripheral devices, and extension cords as nicely. Click Here for more Details:
    Out of State Movers

    ReplyDelete
  4. ap govt jobs
    The Andhra Pradesh Government publishes notifications about the available posts which may be applied by way of any sort of process-seekers. The folks who are living inside the State of Andhra Pradesh can practice for all of the job notifications. Interested applicants aspiring to join those authorities posts can take a look at out all of the government jobs here. You also can discover Andhra Pradesh government jobs for APPSC, DSC, and so forth. You may also have the ability to test qualification clever emptiness for 10th, 12th, and graduate degree as properly.

    ReplyDelete
  5. govt jobs in haryana
    Our vision is to provide quality products & services that exceeds the expectations of our esteemed customers. We firmly believe that our customers are the reason for our existence, and greatly respect the trust that they place in us. We grow through creativity and innovation. We integrate honesty, integrity and business ethics into all aspects of our business functioning.

    ReplyDelete

Powered by Blogger.