I'm a noob at c# so bear with me.
Basically I have a dataSet and I want to pass a dataTable within the dataSet to another function but Im not sure if im doing it correct.
functionOne()
{
foreach (DataTable DocTable in myDataSet.Table s["DocumentTa ble"])
{
functionTwo(Doc Table);
}
}
functionTwo(Dat aTable DocTable)
{
//and In here I could parse the information within that particular dataTable
}
Is this logic correct?
Basically I have a dataSet and I want to pass a dataTable within the dataSet to another function but Im not sure if im doing it correct.
functionOne()
{
foreach (DataTable DocTable in myDataSet.Table s["DocumentTa ble"])
{
functionTwo(Doc Table);
}
}
functionTwo(Dat aTable DocTable)
{
//and In here I could parse the information within that particular dataTable
}
Is this logic correct?
Comment