hello
i have a problem with the export of my gridview to pdf
i'm using itextsharp library
the moment i export to pdf it show the image and what the gridview contains but
not the gridview format
can i have some help pls im stuck
Instead use the table with Repeater control. Add your Logo in Table. Refer this:
<table border="0" cellpadding="0" cellspacing="0"> <tr> <td> Image </td> </tr> <asp:Repeater ID="rpt_Demo" runat="server"> <ItemTemplate> <tr> <td> <asp:Label runat="server" Text="your text" /> </td> </tr> </ItemTemplate> </asp:Repeater> </table>
Add this in Panel and Export that in Pdf.
Thank You.
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.