Quantcast
Channel: Powertips » Datatable
Viewing all articles
Browse latest Browse all 2

Specified cast is not valid in WriteXml using Dataset

$
0
0

This exception appears when using WriteXml of datatable or dataset. This is also caused by when you create a datatable manually and you set the “defaultvalue” to one or more datacolumn. Remove the “defaultvalue” and it will be fine.

For more information on setting defaultvalue click here


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images