combit List & Label 30 - .NET Help
combit.Reporting.DataProviders Namespace / XmlDataProvider Class / FlattenStructure Property


FlattenStructure Property (XmlDataProvider)

Gets or sets if the structure of the XML should be parsed as flat as possible. Without this setting, a structure like

 <xml>
 <Company>
  <Address>
    Buecklestr. 3-5
  </Address>
 </Company>
</xml>

would trigger the creation of a "Company" table and a subordinate "Address" table in the data source. If you set this property to "true", you'll get a "Company" table and a string field "Address" within it.

Syntax
'Declaration
 
Public Property FlattenStructure As Boolean
 
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also