4
Answers

How can Convert Data in to Excel directly in MVC4.

Nazmul Badsha

Nazmul Badsha

7y
176
1
....... I want to Convert Data in to Excel directly in MVC4
 
 What is the code that conver my data in to excel directly. Actualy is it possible ??
 
Thanks In Advance.
 
Nazmul 
Answers (4)
0
habib ullah

habib ullah

NA 116 2k 7y
sir please define the details of the above code
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
You can use Path.GetExtension()
 
string myFilePath = @"C:\Manas.txt";
string ext = Path.GetExtension(myFilePath); //.txt