Fixed Step_CheckOffIndex beyond 9
Fixed logic for determining Transition Text
This commit is contained in:
@@ -173,15 +173,20 @@ namespace VEPROMS.CSLA.Library
|
||||
// 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);
|
||||
if(int.TryParse(s,out tst))
|
||||
return tst;
|
||||
tst = (int) s[0];
|
||||
tst -= '0';
|
||||
return tst;
|
||||
//try
|
||||
//{
|
||||
// tst = int.Parse(s);
|
||||
//}
|
||||
//catch (Exception ex)
|
||||
//{
|
||||
// return 0;
|
||||
//}
|
||||
//return int.Parse(s);
|
||||
}
|
||||
set
|
||||
{
|
||||
|
Reference in New Issue
Block a user