This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi,I`m using the ZedGraph library for make a chart and i need a datasource to fill a datatable.
How can i obtain the datasource or something to fill a datatable?
thanks
Ariel
|
|
|
Hi Ariel, I'm not familiar with ZedGraph but I wasn't clear from the docs why it would require a DataTable. I'm guessing you want to set DataSourcePointList.DataSource -- is that right? If so you can just use a List<T> (as returned from Find<T>) or an EntityCollection<T> (as returned from an association property) -- you do not need a DataTable. If I've misunderstood the question, could you say a bit more about what you're trying to do, and perhaps point us at the relevant sections of the ZedGraph docs? Thanks! |
|
|
Now it works great with this!
I've also used the query.Projection.Add method to create a datatable and that works too.
Thanks for the help
|
|