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 kinfxhk, 07-14-2026, 09:39 AM
            0 responses
            125 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 10:18 AM
            0 responses
            105 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 09:50 AM
            0 responses
            85 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-13-2026, 07:21 AM
            0 responses
            105 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Started by kinfxhk, 07-11-2026, 02:11 AM
            0 responses
            84 views
            0 likes
            Last Post kinfxhk
            by kinfxhk
             
            Working...
            X