|
<< Click to Display Table of Contents >> Navigation: Extensibility Add On upgrade to iVend Retail 6.6 > Change 8 Handle return value from SQL in add-on code |
Navigation: Extensibility Add On upgrade to iVend Retail 6.6 >
In some cases, changed key columns (now nvarchar) in SQL queries will return "0" in string format instead of string.Empty. This case should be handle as mentioned below.
if (!string.IsNullOrEmpty(keyStr) && Convert.ToInt64(keyStr) >0) {
}