I would think you wouldn't want to be exporting a GridView because that is
formatted XML. You should probably be formatting the data used to populate
the gridview into XML. If you're using Sql Server as your DB, it already
comes with features that let you create XML resultsets using the FOR XML
clause. Take a look at the FOR XML section of the SQL Server docs for more
information as it's tricky to explain. You'll need to match up the XML
format that you generate with what Flash expects. It's one thing to say
Flash reads XML, but you need to know exactly which nodes it expects so you
can format your sql query properly to get the right output.
Hope this helps,
Mark Fitzpatrick
"Mark B" <no*****@none.comwrote in message
news:uq*************@TK2MSFTNGP06.phx.gbl...
I've got a sales figure gridview with a SQLDataSource.
I need to pass the data to Flash World Map so the sales figures can be
overlaid on each country.
Flash reads XML files.
How can I easily save the GridView into XML format for Flash to read?
Also, rather than save it as a file, how would I use
Response.OutputStream?