Horje
how to write excel content type while returning from mvc view Code Example
how to write excel content type while returning from mvc view
Response.ContentType = "application/application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";

Response.AppendHeader("content-disposition", "attachment; filename=myfile.xlsx");
how to write excel content type while returning from mvc view
Response.ContentType = "application/vnd.ms-excel";

Response.AppendHeader("content-disposition", "attachment; filename=myfile.xls");




Csharp

Related
c# kill one excel process Code Example c# kill one excel process Code Example
save and query mongodb collection as dynamic ExpandoObject Code Example save and query mongodb collection as dynamic ExpandoObject Code Example
générer un nombre aléatoire en c# Code Example générer un nombre aléatoire en c# Code Example
c# list contains null Code Example c# list contains null Code Example
c# programiticall change selected index of databound datagridviewcombo box Code Example c# programiticall change selected index of databound datagridviewcombo box Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9