Troubleshooting Exceptions: System.Data.StrongTypingException
A StrongTypingException occurs when the user accesses a DBNull value in a strongly typed DataSet.
Associated Tips
- Add error handling for the StrongTypingException.
Place the code accessing the DataSet in a Try…Catch block and catch the StrongTypingException.
See Also
Tasks
How to: Find Out More About an Exception with the Exception Assistant
How to: Test Code with a Try…Catch Block in Visual Basic