您的位置:首页 > 移动开发 > Objective-C

【问题处理】Unable to cast object of type 'System.DBNull' to type 'System.String'.

2017-07-05 16:45 941 查看

问题

【.net报错】Unable to cast object of type 'System.DBNull' to type 'System.String'.

解决

if (objOperation != System.DBNull.Value)
{
e.Text = (string)objOperation;
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐