Import CSV File

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sl1ver
    New Member
    • Mar 2009
    • 196

    #1

    Import CSV File

    Need Major help with this one.
    Im exporting data from a table, the table contains foreign keys. Now on the grid the foreign key (int) is a string.

    How do i fix the import to make the exported string look for its int value and show the string? any tutorials?
  • semomaniz
    Recognized Expert New Member
    • Oct 2007
    • 210

    #2
    Originally posted by Sl1ver
    Need Major help with this one.
    Im exporting data from a table, the table contains foreign keys. Now on the grid the foreign key (int) is a string.

    How do i fix the import to make the exported string look for its int value and show the string? any tutorials?
    I am not sure what you are trying to do but this is what i came up with. Once you read the data from the CSV file which is a string just use INT32.Parse (" Your Data") to convert it to int.

    Comment

    Working...