I'm getting the above error message. I have both WealthLab.Core and System.Data namespaces included, they're both needed.
This method also gives the same error message:
CODE:
DataSet ds = DataSetFactory.FindDataSet(dsName);
How to resolve?
Rename
The standard way is to fully qualify the type name:
CODE:
WealthLab.Core.DataSet ds = WLHost.Instance.FindDataSet(dsName);
Try explicitly saying WealthLab.Core.DataSet in your code?
Explicit statement as above took care of the error, thanks!
But to my (admittedly simplistic) way of thinking a dataset ...is a dataset ...is a dataset. It ought to be be having identical properties & methods regardless of by which method it gets called. Oh well, the mysteries of programming.....
But to my (admittedly simplistic) way of thinking a dataset ...is a dataset ...is a dataset. It ought to be be having identical properties & methods regardless of by which method it gets called. Oh well, the mysteries of programming.....
No way. Wealth-Lab's DataSet is a "watchlist" in trader's lingo whereas Microsoft's DataSet is a collection of data retrieved from a database.
OK.
One last Q: Is there a way to get the total # of symbols in the dataset w/o cycling through them all and then counting? Something like ds.Count would have helped but I don't see it.
One last Q: Is there a way to get the total # of symbols in the dataset w/o cycling through them all and then counting? Something like ds.Count would have helped but I don't see it.
ds.Symbols.Count
Thank you.
Your Response
Post
Edit Post
Login is required