(); ("content-disposition", "attachment; filename="); = "application/excel"; (GetGridTableHtml(Grid1)); ();2. Directly output Html code(@" <table border="1"> <tr> <td>Excel</td> <td>By Html</td> </tr> </table>")