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

Ado.net

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

    Ado.net

    Hello,
    Is ADO.NET supported ?
    Thanks

    #2
    Yes. The entire .NET class library is supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks Ray, but I don't get it.
      I want to use the Systema.Data.OleDb namespace that includes the .NET Framework Data Provider for OLE DB. But I get an error when I enter the next sentence (into "Using declarations" region):

      Code:
      [FONT=Courier New][SIZE=2][COLOR=#0000ff]
      [SIZE=2][FONT=Courier New][COLOR=#0000ff][SIZE=2][FONT=Courier New][COLOR=#0000ff]using[/COLOR][/FONT][/SIZE][/COLOR][/FONT][/SIZE][/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2][FONT=Courier New][SIZE=2] System.Data.OleDb;[/SIZE][/FONT]
      [/SIZE][/FONT]

      Comment


        #4
        Is this supported in .NET 2.0? That is what NT 6.5 is currently running on, anything in a later version of .NET is of course not supported.
        RayNinjaTrader Customer Service

        Comment


          #5
          Yes,
          the Data Provider for OLE DB was included in the .NET Framework version 1.0.

          Comment


            #6
            Will look into this and report back.
            RayNinjaTrader Customer Service

            Comment


              #7
              You need to add the appropriate assembly to Editor->Right click->References. Please consult the MS docs for how to properly use additional, standard C# components.

              Comment


                #8
                Thanks very much Dierk.

                The reference was in C:/WINDOWS/ Microsoft.NET/ Framework/ v2.0.50727/ System.Data.dll

                Best regards.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by maybeimnotrader, Yesterday, 05:46 PM
                1 response
                18 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Perr0Grande, Yesterday, 08:16 PM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by f.saeidi, Yesterday, 08:12 AM
                3 responses
                24 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by algospoke, Yesterday, 06:40 PM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by quantismo, Yesterday, 05:13 PM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Working...
                X