B
Bubba
Hi All,
I'm presently populating a DataGridView with data extracted from an XML
file, but since there is a range of datatypes I thought it would make
more sense to have a CheckBox cell for a boolean datatype, or a combobox
cell for an enumeration etc.
However, the xmlnode (extracted from the xmldocument) used to create the
row in the datagridview doesn't contain any schema information! This is
confusing me as both the XML schema and document are validated by the
application at startup. If I put a 'bad' value into an xmlnode I get a
validation error as one would expect.
Does anyone know how to match an XmlNode to it's underlying schema datatype?
I'm presently populating a DataGridView with data extracted from an XML
file, but since there is a range of datatypes I thought it would make
more sense to have a CheckBox cell for a boolean datatype, or a combobox
cell for an enumeration etc.
However, the xmlnode (extracted from the xmldocument) used to create the
row in the datagridview doesn't contain any schema information! This is
confusing me as both the XML schema and document are validated by the
application at startup. If I put a 'bad' value into an xmlnode I get a
validation error as one would expect.
Does anyone know how to match an XmlNode to it's underlying schema datatype?