예제 #1
0
 internal static void FillDestinationDataItems(DataTable dt, DataItemCollection data)
 {
     foreach (DataItem item in data)
     {
         PrepareDataForDestination(item, dt);
     }
 }
예제 #2
0
        internal static void FillDataTable(DataTable dt, DataItemCollection data)
        {
            if (dt == null || dt.Columns.Count == 0)
            {
                dt = GetEmptyDataTable(data[0].Schema);
            }

            foreach (DataItem item in data)
            {
                PrepareDataForDestination(item, dt);
            }
        }