Just a quick one, if you want to store an image to a dataset, and are creating the dataset in code, here’s the proper type:
System.Type.GetType(“System.Byte[]“)
It’s a little confusing because if you use Visual Studio’s XSD editor, it lists the type as System.Byte(). And of course System.Byte would compile but it would not behave as expected.
In the schema, the type is stored as: type=”xs:base64Binary”
Just a heads up.