What .NET method has this error message: "Object cannot be cast from DBNull to other types"
The stack traces have been stipped from my logs so I'm looking for a starting point.
Answers:
Convert.ToInt32: "Object cannot be cast from DBNull to other types."- VB's
CInt: "Conversion from type 'DBNull' to type 'Integer' is not valid." - C#'s
(int): "Specified cast is not valid." Int32.Parse(x.ToString()): "Input string was not in a correct format."