Zum Hauptinhalt gehen

Trouble with DataTableToCsv then exporting it using WriteFile

Kommentare

3 Kommentare

  • Permanently deleted user

    Thank you Ryan! 

    I'm assuming that System.Text.Encoding.ASCII.GetBytes(string) is the variable type I will assign to my CVS output, however it doesn't to exist in my .Net Type Variables when I look to import it.

    Only System.Text.Encoding exists, am I missing something? Or do I need to download it? 

     

     

    Thanks again.

    0
  • Ryan Cooney

    Hi Robin,

    System.Text.Encoding.ASCII.GetBytes(string) is a method. It accepts a string and returns a byte array. You shouldn't need to use an import here.

    --Ryan

    0
  • Permanently deleted user

    Ok that makes more sense! I got it working now, thank you very much Ryan!

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.