![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
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
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
|
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? |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Oct 2007
Posts: 6
Thanks: 0
Thanked 0 times in 0 posts
|
The intellisense doesn't seem to be working with System.Data, the code itself is working. Adding the reference worked.
|
|
|
|
|
|
#5 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,164
Thanks: 6
Thanked 46 times in 32 posts
|
Thanks for letting us know.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Just restart NT after adding System.Data to the references and it will be available in the intellisense.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NameSpace System.Data not found | Rollins | General Programming | 2 | 06-04-2008 09:20 AM |
| using System.Data | mgbloomfield | Automated Trading | 8 | 04-17-2008 11:40 AM |
| Trading System | abikambic | General Programming | 1 | 03-18-2008 06:22 AM |
| System.OutOfMemoryException | MrBaffalo | General Programming | 13 | 11-28-2007 07:12 AM |
| End-to-End Testing of a System | aspTrader | Automated Trading | 0 | 12-02-2005 02:28 AM |