csv and leading zeroes

Discussion in 'ASP .Net' started by Mike P, Oct 4, 2006.

  1. Mike P

    Mike P Guest

    I'm trying to write the contents of a csv file to a table, but I am
    having problems with fields with leading zeroes. Whenever I save as csv
    I lose the leading zeroes. Does anybody know how to prevent this?


    *** Sent via Developersdex http://www.developersdex.com ***
     
    Mike P, Oct 4, 2006
    #1
    1. Advertising

  2. Mike P

    Jon Paal Guest

    are values being saved as numbers or strings ?
    wrapped in quotes ?




    "Mike P" <> wrote in message news:...
    > I'm trying to write the contents of a csv file to a table, but I am
    > having problems with fields with leading zeroes. Whenever I save as csv
    > I lose the leading zeroes. Does anybody know how to prevent this?
    >
    >
    > *** Sent via Developersdex http://www.developersdex.com ***
     
    Jon Paal, Oct 4, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Marks

    Leading Zeroes

    Kevin Marks, Apr 27, 2007, in forum: HTML
    Replies:
    2
    Views:
    617
    Kevin Marks
    Apr 27, 2007
  2. John Nagle
    Replies:
    4
    Views:
    597
    James Antill
    Aug 7, 2007
  3. Delaney, Timothy (Tim)
    Replies:
    0
    Views:
    568
    Delaney, Timothy (Tim)
    Aug 7, 2007
  4. veevee1
    Replies:
    0
    Views:
    1,256
    veevee1
    Dec 14, 2009
  5. George

    herding ones and zeroes into bytes

    George, Dec 7, 2008, in forum: Perl Misc
    Replies:
    10
    Views:
    204
    Jim Gibson
    Dec 17, 2008
Loading...

Share This Page