internal static void FillDestinationDataItems(DataTable dt, DataItemCollection data) { foreach (DataItem item in data) { PrepareDataForDestination(item, dt); } }
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); } }