Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
890
WinGrid SaveAsXML Serialization Error
posted

When trying to use SaveAsXML on one form/grid in particular I am getting an error.  I cannot reproduce the error on other forms/grids as it seems to work fine except for one form/grid.  Any idea why I am having problems with only the one grid?

SerializationException was unhandled

Type 'System.Data.DataRow' in 'Assembly System.Data' version 2.0.0.0 ........ is not marked at serializable.

I am using UltraWinGrid v8.1

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    For some reason, the layout is trying to serialize a DataRow. The only way I can think of that this might happen is if you assigned a DataRow to the Tag property of some object in the grid - such as a column or band.

Children
No Data