Click to See Complete Forum and Search --> : Writing onto files


java
10-23-2003, 04:11 PM
I have a MSFlexgrid in my asp page. The grid gets data from the database. Now, I have a button on the page named 'export'. on clicking the button, i want the grid contents to be copied onto a .csv file. it is not neccessary to copy the grid contents meaning it can also copy the data from the recordset that populates the grid.

I want the .csv file to be named and saved in the local hard disk.

CAN ANYONE HELP ME OUT WITH CLIENT SIDE JAVA SCRIPT CODE [OR ANY OTHER SOLUTION] TO DO THE ABOVE TASK ?

Khalid Ali
10-23-2003, 04:22 PM
Best option will be to use server side programming language(hope thats what you used in the first place to populate the grid).

Client side options are very un reliable.
(Signed)Java applets will work
Active XControl will work.