2011年3月15日

对象不能从 DBNull 转换为其他类型。

摘要: 今天程序执行以下代码,时有时无的抛出错误:对象不能从 DBNull 转换为其他类型。Database db = DatabaseFactory.CreateDatabase(); string sqlCommand = "INSERT S_StorageInput (InputNo, WarehouseId, CreatedUser,BusinessDate, CreatedDateTime, UpdatedDateTime, StorageInputType, IsDeleted, IsCheck, DepartmentId, SupplierId,DealerId,StockNo 阅读全文

posted @ 2011-03-15 14:20 风的轮廓 阅读(4336) 评论(0) 推荐(0) 编辑

导航