TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Frank Litjens
NA
1
0
DataTable compute function on non standard datatypes
Jul 16 2010 7:37 AM
I have a problem with the following situation. Instead of using a standard datatype in my datatable column I have the following XYSet structure.
public struct XYSet
{
public int x1;
public int y1;
public int x2;
public int y2;
public double rc;
public double offset;
}
m_resultTable.Columns.Add(new DataColumn("A", typeof(XYSet)));
m_resultTable.Columns.Add(new DataColumn("B", typeof(XYSet)));
Now I would like to use the Compute function of DataTable in order to calculate the standard deviation of the rc values in both A and B XYSet column. Is it possible the use the Compute function or do I have t create a new datatable having all structure values in a their own column after which the Compute function can be used.
Thanks for helping me out.
Regards,
Frank
Reply
Answers (
0
)
Find the COM port for TAPI devices
Testing if a file is complete