Hi...I'm using this code to export datagrid valus to pdf file....but i cant open tht export pdf files i got this error .(Adobe Reader could not open 'Test.pdf' because it is either not a supported file type or because the file has been damaged(for example it was sent as an email attachment and wasn't correctly decoded)...please any one find out the error in this code...
Response.Clear();
Response.AddHeader("content-disposition", "attachment; filename=Test.pdf");
Response.Charset = "";
// If you want the option to open the Excel file without saving than
// comment out the li ...
Go to the complete details ...