handle null numbes

This commit is contained in:
Paul Trowbridge 2018-08-16 12:01:10 -04:00
parent 938e5321dc
commit 489823eb0c

View File

@ -91,7 +91,12 @@ namespace test
nc = "'" + getv[i].ToString() + "'"; nc = "'" + getv[i].ToString() + "'";
break; break;
default: default:
if (getv[i].ToString() != "") {
nc = getv[i].ToString(); nc = getv[i].ToString();
}
else {
nc = "NULL";
}
break; break;
} }
} }