954,157 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

read excel file using javascript

hi ,
actually i am developing a web application in asp.net using c#.
i have come across a requirement to read a excel file without going to the server . i need to use javascript for the same.

so i need help on javascript function to read from excel file.
i tried a lot many codes available but nothing seems to be working...
so somebody help me...
one of the codes i tried is:

<script language="javascript">
function readFromExcel()

{

var excel = new ActiveXObject("Excel.Application");

var excel_file = excel.Workbooks.Open("C:\\Book2.xls");

var excel_sheet = excel_file.Worksheets("Sheet1");

return data;



}
<body>
<input type="button" onclick=readFromExcel() value="read"/>
</body>
Poojasrivastava
Newbie Poster
13 posts since Apr 2009
Reputation Points: 11
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You