public static void AddToTableUnScannable(string fileName, string filePath, string userName, string exception)
{
String cleanedFileName = CleanFileString(fileName);
String cleanedFilePath = CleanFileString(filePath);
String cleanedException = CleanFileString(exception);
try
{
string txtQuery = "insert into UnScannable (filename, filePath, owner, reason) " + "values ('" + cleanedFileName + "', '" + cleanedFilePath + "', '" + userName + "', '" + cleanedException + "');";
ExecuteNonQuery(txtQuery);
}
catch (Exception) { /*MessageBox.Show("AddToTableunScannable Fail", e.ToString());*/ }
}