i am working on a web application that would be viewing an excel file, i’m trying to use the officeviewer ocx but i am having some problem.
i tried to follow the sample code but to no avail… code as follows:
function OpenFromServer()
{document.all.OA1.Open (‘http://dell33/exceldata/exceltest.xls’, ‘Excel.Sheet’;}
i get an error as follows: “Microsoft JScript runtime error: Invalid procedure call or argument”
please help ASAP, thanks
One Response to “viewing excel in asp.net 2.0”
Leave a Reply
You must be logged in to post a comment.
December 14th, 2007 at 6:33 am
should be
function OpenFromServer()
{
document.all.OA1.Open (“http://dell33/exceldata/exceltest.xls”, “Excel.Sheet”)
}