Datagrid fill from XML File

  • Thread starter Thread starter Uri Dor
  • Start date Start date
U

Uri Dor

sounds like you're loading an XML which isn't in the format of a dataset
(relational).
try creating a DataTable, adding DataColumns to it, adding it to a
DataSet and serializing it to XML to see what the XML should look like
 
Hi,

When I read from a XML Document and assign -

DataSet.ReadXml(@"C:\Abc.Xml",XmlReadMode.Auto);
DataGrid.DataSource = DataSet;

I get the DataGrid showing the Data table name, but the data is not
displayed in the datagrid. It
shows Table Name as a link, on clicking of which the grid is filled. Even
the DataGrid.Expand(-1) do not expand the rows.

Is there any way for this?

Thanks

Thejus
 
Back
Top