1
Dies ist mein Code zum Herunterladen der Excel-Datei.Wie öffne ich die Excel-Datei in der App, anstatt sie mit C# im Browser herunterzuladen?
HttpContext.Current.Response.Clear();
HttpContext.Current.Response.Buffer = true;
HttpContext.Current.Response.Charset = "";
HttpContext.Current.Response.ContentType = "application/ms-excel";
HttpContext.Current.Response.AppendHeader("content-disposition", "attachment ; filename=report.xlsx");
Ich möchte es in Excel öffnen.
winforms oder webforms oder mvc etc etc? –
Lesen Sie http://stackoverflow.com/questions/5648347/how-to-open-an-excel-document-using-c-sharp –