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 ZenCortexCLICK, Today, 04:58 AM
                0 responses
                2 views
                0 likes
                Last Post ZenCortexCLICK  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                172 responses
                2,280 views
                0 likes
                Last Post sidlercom80  
                Started by Irukandji, Yesterday, 02:53 AM
                2 responses
                17 views
                0 likes
                Last Post Irukandji  
                Started by adeelshahzad, Today, 03:54 AM
                0 responses
                4 views
                0 likes
                Last Post adeelshahzad  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                13 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X