DataTable dtAttributes = objDAL.GetCPRAttributes(); foreach (DataRow row in dTableSql.Rows) { DataRow[] rows = dtAttributes.Select("Attributes='" + row["Attributes"] + "'"); if (rows != null && rows.Length > 0) count++; } if (count < 13) { throw new Exception("Invalid Excel"); }
catch (Exception ex) { Console.WriteLine(ex); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)