Hi everybody,
Quite often I am getting an exception about Invalid format. Say, I just got one here
Byte instr_type = Convert.ToByte(GetParameterValue(rowValues, "instr_type"));
The value is returned as empty string and apparently ToByte and other conversions can not deal with empty string. So, EVL function may be helpful here.
Is there any way to write this expression to not get exception without doing this with extra variable first?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog