R
Ryan Ternier
I gota scoot here so I gota make it quick 
I'm doing a conversion from 2 different databases (2 different software
versions)
I have each table stored in a Datatable, and I'm going to append the columns
from V1 that I need to the V2 table.
After creating the tables (works 100%) i run this code:
DataRow rowV2 = tblItemV2.NewRow();
foreach(DataRow row in tblItemV1)
{
foreach(DataColumn col in row)
{
switch(col.Caption)
{.....
I keep getting errors on the first foreach(DataRow row in tblItemV1)
telling me :
foreach statement cannot operate on variables of type
'System.Data.DataTable' because 'System.Data.DataTable' does not contain a
definition for 'GetEnumerator', or it is inaccessible
Any help on this would be sooo sweet.
Thanks!

I'm doing a conversion from 2 different databases (2 different software
versions)
I have each table stored in a Datatable, and I'm going to append the columns
from V1 that I need to the V2 table.
After creating the tables (works 100%) i run this code:
DataRow rowV2 = tblItemV2.NewRow();
foreach(DataRow row in tblItemV1)
{
foreach(DataColumn col in row)
{
switch(col.Caption)
{.....
I keep getting errors on the first foreach(DataRow row in tblItemV1)
telling me :
foreach statement cannot operate on variables of type
'System.Data.DataTable' because 'System.Data.DataTable' does not contain a
definition for 'GetEnumerator', or it is inaccessible
Any help on this would be sooo sweet.
Thanks!