Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

using System.Data

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

    using System.Data

    I'm trying to use System.Data and System.Data.Oledb in a strategy so that I can access an excel spreadsheet through Oledb, but they do not seem to be recognized. How can I use Oledb from ninjascript?

    #2
    Unfortunately this is beyond what we can provide support for. As last resort you contact a certified NinjaScript engineer: http://www.ninjatrader.com/webnew/pa...injaScript.htm

    Comment


      #3
      I found a post here about this issue: http://www.ninjatrader-support.com/v...ead.php?t=8065

      I right clicked, references, and added System.Data.Dll but still cannot add "using System.Data" to my strategy or create DataSets/Rows/Tables. Is there another step I need?

      Comment


        #4
        The intellisense doesn't seem to be working with System.Data, the code itself is working. Adding the reference worked.

        Comment


          #5
          Thanks for letting us know.
          RayNinjaTrader Customer Service

          Comment


            #6
            Just restart NT after adding System.Data to the references and it will be available in the intellisense.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            169 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            324 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            250 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            351 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            180 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X