I have a string which can be empty if its not empty it is containing a xml document. The problem is null values are allowed in this dataset column of DataType System.String.
Error Message:this.MetaData' threw an exception of type 'System.Data.StrongTypingException'
base {System.SystemException} = {"The value for column 'MyData' in table 'GMyTAbleName' is DBNull."}
UPDATE
here is a screenshot of the cause:
http://666kb.com/i/bld3eelnaicsgb9tv.png
you see how it tries to convert NULL to a string which should be returned.
That code is from the DataSet.Designer.cs file, how could I change that behaviour? :S