Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reading csv text input files

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Reading csv text input files

    How can I read in a csv file in c#?

    I have downloaded this dll:



    and added a reference to it using right-click -> References in the ninjascript editior, but when I compile the program, the line:

    chilkat.Csv csv = new chilkat.Csv();

    causes an error "Type or namespace name 'Csv' does not exist in the namespace 'chilkat' (are you missing an assembly reference'?)"

    What is the easiest way to read in a two column csv file of doubles into my ninja script program?

    Thanks,
    Matthew.

    #2
    Matthew, there are easier ways to read from a .csv file than some custom .dll you found on the web. Unfortunately this is beyond the level of support we provide. I would recommend a simple Google search for "C# csv" to get started.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    164 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    318 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    246 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    350 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    179 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X