Cannot interpret token '!'
This error will occur when you try to pass an Invalid Token specifier.
eg:drCheck = dsSaveTemplate.Tables[0].Select("isExists = 'true' and template_code != '6'");
You will recieve error similar to this...Cannot interpret token '!' at position 37.
Solution
Make use of proper token specifier in search field.
eg: != is replaced with <>drCheck = dsSaveTemplate.Tables[0].Select("isExists = 'true' and template_code <> '6'");
So whenever this error occurs try to find out help on available valid token specifier for a given argument.