R
rkmoray
I have created a Multi Dimentional array, but having problems filling
it.
int mCount=0;
mCount=ds.Tables[0].Rows.Count;
string[,,] arrayppsa = new string [mCount,1,1];
DataTable myDataTable=ds.Tables[0];
foreach(DataRow myDataRow in myDataTable.Rows) {
//Tried thsi to fill, lots of errors
arrayppsa[x,1,1]= myDataRow["0"].ToString() ,
myDataRow["1"].ToString(), myDataRow["2"].ToString();
it.
int mCount=0;
mCount=ds.Tables[0].Rows.Count;
string[,,] arrayppsa = new string [mCount,1,1];
DataTable myDataTable=ds.Tables[0];
foreach(DataRow myDataRow in myDataTable.Rows) {
//Tried thsi to fill, lots of errors
arrayppsa[x,1,1]= myDataRow["0"].ToString() ,
myDataRow["1"].ToString(), myDataRow["2"].ToString();