private DataSources.dsData.CustomerRow GetCustomerRow(int CustomerId, DataSources.dsData.CustomerDataTable tbl) { DataSources.dsData.CustomerRow row = tbl.FindByCustomerId(CustomerId); if (row == null) { DataSources.dsData.CustomerRow CusRow = tbl.NewCustomerRow(); Customer.CreateDefaultCustomer(ref CusRow); return CusRow; } else return row; }