HI all,
I wonder if someone can help me with an concept
I have a method that does some validation. Currently the whole process is
aborted when the first error occurs.
What I's like to to is finish the processing, accumilate the error and then
present the errors at the end.
I neeed to to this to actuall save time
THinsk of a file that has many mistakes, we dont want to abort on the first,
fix the first - rerun then to eventually abort onb the second, and so on and
so on
I was thinking of an arraylist or a generic list or something of that kind
Thanks
Robert
private bool ValidateXlsDimensions(string ValidateDimention, out string
Messages)
{
if (_DimensionList.Contains(ValidateDimention))
{
Messages = "";
return true;
}
else
{
Messages = "Dimentions not found - "+ValidateDimention.ToString();
return false;
}
}