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 Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            633 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            364 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            567 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            568 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X