G
Guest
Hello,
I have an copied data set. I'm trying to access a field.
daOrder.Fill(dsOrderSheet);
DataSet dsCopy = new DataSet();
dsCopy = dsOrderSheet.Copy();
// How do you do this part?
output = dsCopy.Tables["orders"].Rows[0].ItemArray["orderDate"];
//or
output = dsCopy.Tables[0].Rows[0].ItemArray[1];
//neither work.
How is this done?
Thanks kindly for any advice on this
Ant
I have an copied data set. I'm trying to access a field.
daOrder.Fill(dsOrderSheet);
DataSet dsCopy = new DataSet();
dsCopy = dsOrderSheet.Copy();
// How do you do this part?
output = dsCopy.Tables["orders"].Rows[0].ItemArray["orderDate"];
//or
output = dsCopy.Tables[0].Rows[0].ItemArray[1];
//neither work.
How is this done?
Thanks kindly for any advice on this
Ant