hi i was following your blog about exporting the gridview into a pdf
http://www.aspsnippets.com/Articles/Export-Paging-enabled-Gridview-to-PDF-with-Formatting-using-iTextSharp-in-ASPNet.aspx
but its throwing an exception
Control 'GridView1' of type 'GridView' must be placed inside a form tag with runat=server.
GridView1.RenderControl(hw)
that was the error. I am using .net 4.5