This commit is contained in:
Kathy Ruffing 2012-06-08 13:10:54 +00:00
parent 7211bebdbe
commit f91e6ca5a3

View File

@ -118,6 +118,18 @@ namespace VEPROMS.CSLA.Library
if (s == string.Empty) return 0;
// there was an invalid character for Wolf Creek's index. just return
// a 0 if found. The dataloader was fixed (6/8/12) to not migrate the
// bad character, but this was added, in case there are some other conditions.
int tst = 0;
try
{
tst = int.Parse(s);
}
catch (Exception ex)
{
return 0;
}
return int.Parse(s);
}
set