html page save to excel format
How can save the html page to Excel format ?
so the html page can be open in Excel and can implement
function etc..
Excel data file can import into sql server,
I prepare report in html, data in sql server.
I could not export html file data to Excel file
How can save / export html page data into Excel by
the java script ?
just like following code, but this code save the file in html
I want to save the file in Excel
By the java script this is possible ?
Please help.
Regards.
<BODY>
<P>web data page
<script>
function doSaveAs(){
if (document.execCommand){
document.execCommand("SaveAs")
}
else {
alert("Save-feature available only in Internet Exlorer 5.x.")
}
}
</script>
</P>
<form>
<input type="button" value="save" onClick="doSaveAs()"
form <></form>
</BODY>
|