DonB
|
Posted: 07/17/2003, 10:37 PM |
|
The question came up in the past couple of days: "How can I generate
CSV-formatted output from a recordset?
Well, here is an eaay way to do it:
http://www.gotodon.com/ccbth/features/ViewArticle.asp?ArticleID=10
This example makes use of an XML Style Sheet Transformation (XSLT) to create
the CSV output in just seven lines of code. It outputs to the screen (into
a Label control), but could just as easily output to the file system, email
or other destination.
If you don't like CSV, you can drop in another XSLT file and no code changes
are required.
DonB
http://www.gotodon.com
|
|
|
|