问题
【.net报错】Unable to cast object of type 'System.DBNull' to type 'System.String'.
解决
if (objOperation != System.DBNull.Value)
{
e.Text = (string)objOperation;
}
【.net报错】Unable to cast object of type 'System.DBNull' to type 'System.String'.
if (objOperation != System.DBNull.Value)
{
e.Text = (string)objOperation;
}