help with moving double array to datatable
cant seem to figure out datatables. Im trying to put a 2-dimensional double array into a datatable. i figured out at least how to get the columns and rows set up but not how to populate with the array data. help please!!!!
VB Code:
for (int j = 0; j < YBins ; j++)
{
dtOrig.Columns.Add("Y" + Convert.ToString(j));
}
for (int i = 0; i < XBins; i++)
{
dtOrig.Rows.Add("X" + Convert.ToString(i));
}
Re: help with moving double array to datatable
I have never used them but have you tried the NewRow method?