有关调用实时(JIT)调试而不是此对话框的详细信息,请参阅此消息的结尾

问题描述:

我无法重现该错误。我的客户端出现以下错误:

I cannot reproduce that error. My client got following error:

有关调用

的详细信息,请参阅此消息的结尾问题 

Looks like an issue with 

System.InvalidCastException: Operator '=' is not defined for type 'DBNull' and string "".


如果检查字符串,请使用String.IsNullOrWhiteSpace。

If checking a string use String.IsNullOrWhiteSpace.