How to convert Excel(xls) contents into HTML
I have generated local report using SQL REPORTING Services and get rendered it as below:
Method Render()
Start
Warning[] warnings;
string[] streamids;
string mimeType;
string encoding;
string extension;
byte[] bytes = ReportViewer1.LocalReport.Render("Excel",
null, out mimeType, out encoding,
out extension,
out streamids, out warnings);
End
End Method
Now I have the bytes of Excel file, I want to convert it into HTML response. How can I do this, Pl assist me.
Thanks,
Manish
|