CSV parser

Results 1 to 3 of 3

Thread: CSV parser

  1. #1
    Rob W Guest

    Default CSV parser

    Is there a way i can parse a csv file in ASP. I need to extract the values line by line.<BR><BR>i do not want to use a DSN and connect using odbc

  2. #2
    Join Date
    Dec 1969

    Default RE: CSV parser

    Dim fs, ts, str, splstr<BR><BR>Set fs = Server.CreateObject ("Scripting.FileSystemObject")<BR>Set ts = fs.OpenTextFile ("pathtoyourfile", forreading, False)<BR>Do while (not (ts.atendofstream))<BR>str = ts.readline<BR>splstr = split (str, ",")<BR>...<BR>Loop<BR>

  3. #3
    Rob W Guest

    Default RE: CSV parser

    Ta thnx 4 your time

Posting Permissions

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