Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 gravdigaz6, Today, 11:40 PM
            0 responses
            2 views
            0 likes
            Last Post gravdigaz6  
            Started by MarianApalaghiei, Today, 10:49 PM
            3 responses
            9 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by XXtrader, Today, 11:30 PM
            0 responses
            3 views
            0 likes
            Last Post XXtrader  
            Started by love2code2trade, Yesterday, 01:45 PM
            4 responses
            28 views
            0 likes
            Last Post love2code2trade  
            Started by funk10101, Today, 09:43 PM
            0 responses
            9 views
            0 likes
            Last Post funk10101  
            Working...
            X