Hi I have an application where I need to export grid view data to a pdf and I did like this .....
StringWriter sw = new StringWriter();HtmlTextWriter htw = new HtmlTextWriter(sw);
grdv1.RenderControl(htw);
string html = "<html><body>" + sw.ToString() + "</body></html>";
Response.Clear();
Respons ...
Go to the complete details ...