开发者

"FormatException was unhandled" Input string was not in a correct format

I have 开发者_Python百科an error in my website and trying to resolve: Error "format exception was unhandled" such that it work for both date time as well as with string and integer.

Please see the details and code from this link http://tinyurl.com/ydg3u7s

Thanks


return Convert.ChangeType(IsThisObjectANull, DataTypeCode);

The conversion is probably failing due to incompatible types . You might have to debug and check when this happens .


Perhaps some try/catch mechanism?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜