G
Guest
Hi everyone,
I've created a dataset in Visual Studio and created a table structure with
the Tables property. I want to read an xml file in the dataset and display it
in the datagrad. The dataset is linked to the datagrid in VS.
But I think that the xml file isn't read properly in the Table definition of
the dataset.
That is because the datagrid doesn't show the perfect column headers.
my code is:
DataSetAdressen.ReadXml("c:\\lessius\\adressen.xml",
XmlReadMode.IgnoreSchema);
DataGridAdressen.DataSource = DataSetAdressen;
DataGridAdressen.DataMember = "Adres";
thanks for the answers,
Filip
I've created a dataset in Visual Studio and created a table structure with
the Tables property. I want to read an xml file in the dataset and display it
in the datagrad. The dataset is linked to the datagrid in VS.
But I think that the xml file isn't read properly in the Table definition of
the dataset.
That is because the datagrid doesn't show the perfect column headers.
my code is:
DataSetAdressen.ReadXml("c:\\lessius\\adressen.xml",
XmlReadMode.IgnoreSchema);
DataGridAdressen.DataSource = DataSetAdressen;
DataGridAdressen.DataMember = "Adres";
thanks for the answers,
Filip