How does one reference the name of a particular column
in the given row?
Assume the 3rd column contains the OrderNumber. Want to do a control-break when different value is detected in the OrderNumber column.
foreach(DataRow myRow in myTable.Rows)
{
if CntlNbr <> myRow["OrderNumber"].???? ....
in the given row?
Assume the 3rd column contains the OrderNumber. Want to do a control-break when different value is detected in the OrderNumber column.
foreach(DataRow myRow in myTable.Rows)
{
if CntlNbr <> myRow["OrderNumber"].???? ....