首页 > 技术文章 > c#:无法将类型为“System.DBNull”的对象强制转换为类型“System.String”
KeenLeung 2013-06-21 11:39 原文
解决办法:
使用转换函数即可:
Convert.ToString(要转换的值);