public void RunImports() { if (cbRootRez.Checked) { DataTable RootRez = CF.CSV2Table(@"\\taskman\c$\acctg\winscp\data\rootrez_gc.csv", "RootRez"); if (CF.TableHasData(RootRez)) { foreach (DataRow RR in RootRez.Rows) { switch (RR["Status"].ToString().ToUpper()) { case "COMPLETED": break; case "CONFIRMED": break; default: break; } } } } }