K
kross
Hi,
I made a dataset with te following code:
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="CombinatieDetails"
targetNamespace="http://tempuri.org/CombinatieSet.xsd"
elementFormDefault="qualified"
xmlns:Gegevens.DomeinenData="http://tempuri.org/CombinatieSet.xsd"
xmlns:mstns="http://tempuri.org/CombinatieSet.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:codegen="urn:schemas-microsoft-com:xml-msprop">
<xs:element name="CombinatieDetails" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Combinaties" codegen:typedName="Combinatie"
codegen:typedPlural="Combinaties">
<xs:complexType>
<xs:sequence>
<xs:element name="groep" type="xs:string" nillable="false" />
<xs:element name="categorie" type="xs:string" nillable="false"
/>
<xs:element name="per_begin" type="xs:dateTime"
nillable="false" />
<xs:element name="per_eind" type="xs:dateTime" nillable="false"
/>
<xs:element name="mutatiemoment" type="xs:dateTime" />
<xs:element name="recordstatus" type="xs:string" />
<xs:element name="gebruiker" type="xs:string" />
<xs:element name="methode" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:key name="CombinatieDetails_groep_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstns:groep" />
</xs:key>
<xs:key name="CombinatieDetails_categorie_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstns:categorie" />
</xs:key>
<xs:key name="CombinatieDetails_per_begin_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstnser_begin" />
</xs:key>
<xs:key name="CombinatieDetails_per_eind_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstnser_eind" />
</xs:key>
</xs:element>
</xs:schema>
When I "watch" the dataset when it is filled with data all properies
have some sort of Hex value. I need the MaxLength of a colomn for
example and it is in my case: &HA (all other are also like &H.......)
Does anyone know why the properties have these strange values? Or how
to change these? Or read these correctly?
Thanx
I made a dataset with te following code:
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema id="CombinatieDetails"
targetNamespace="http://tempuri.org/CombinatieSet.xsd"
elementFormDefault="qualified"
xmlns:Gegevens.DomeinenData="http://tempuri.org/CombinatieSet.xsd"
xmlns:mstns="http://tempuri.org/CombinatieSet.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"
xmlns:codegen="urn:schemas-microsoft-com:xml-msprop">
<xs:element name="CombinatieDetails" msdata:IsDataSet="true">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element name="Combinaties" codegen:typedName="Combinatie"
codegen:typedPlural="Combinaties">
<xs:complexType>
<xs:sequence>
<xs:element name="groep" type="xs:string" nillable="false" />
<xs:element name="categorie" type="xs:string" nillable="false"
/>
<xs:element name="per_begin" type="xs:dateTime"
nillable="false" />
<xs:element name="per_eind" type="xs:dateTime" nillable="false"
/>
<xs:element name="mutatiemoment" type="xs:dateTime" />
<xs:element name="recordstatus" type="xs:string" />
<xs:element name="gebruiker" type="xs:string" />
<xs:element name="methode" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:key name="CombinatieDetails_groep_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstns:groep" />
</xs:key>
<xs:key name="CombinatieDetails_categorie_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstns:categorie" />
</xs:key>
<xs:key name="CombinatieDetails_per_begin_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstnser_begin" />
</xs:key>
<xs:key name="CombinatieDetails_per_eind_PK">
<xs:selector xpath=".//mstns:Combinaties" />
<xs:field xpath="mstnser_eind" />
</xs:key>
</xs:element>
</xs:schema>
When I "watch" the dataset when it is filled with data all properies
have some sort of Hex value. I need the MaxLength of a colomn for
example and it is in my case: &HA (all other are also like &H.......)
Does anyone know why the properties have these strange values? Or how
to change these? Or read these correctly?
Thanx