Results 1 to 2 of 2

Thread: Export DataSet to a .csv file

  1. #1

    Thread Starter
    Fanatic Member snufse's Avatar
    Join Date
    Jul 2004
    Location
    Jupiter, FL
    Posts
    912

    Export DataSet to a .csv file

    Is there an easy way to export a data set to a csv file or do I have to map each element? I read something like this:

    Code:
    <pnwc:ExportButton 
    id="btnExcel" 
    runat="server" 
    Separator="TAB" 
    Text="Export to Excel" 
    FileNameToExport="Books.xls" BackColor="#E0E0E0">
    </pnwc:ExportButton>
    but it tells me that the tag is invalid.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Export DataSet to a .csv file

    The pnwc prefix indicates that it's a custom third party control which you most likely don't have. You'll need to export your data using your own code.

    http://geekswithblogs.net/cubeberg/articles/78814.aspx

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width