Most Efficient Way of Exporting CSV data from page

P

Peter

I have an array

MyArray(30,3)

The string data looks like this:
MyArray(0,0) = "ColumnA";MyArray(0,1) = "ColumnB";MyArray(0,2) =
"ColumnC"
MyArray(1,0) = "DataA";MyArray(1,1) = "DataB";MyArray(1,2) = "DataC"
MyArray(2,0) = "DataA";MyArray(2,1) = "DataB";MyArray(2,2) = "DataC"

and so on....

When my users click on a button named btnExport I want them to be
prompted to download this array in CSV File Format. Does anyone have
any sample code?

-Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top