M
magister
Hello,
I have xml like this....
<test>
<question>sdfsa</question>
<section><question>43ga</question>
<question>asdf</question>
</test>
I make and xsd file with
<xs:all>
<xs:element....
<xs:element....
</xs:all>
I then bind the XML to a DataGrid...
DataGrid.DataSource = DataSet;
DataGrid.DataBind();
but I only get the questions, I notice there is a DataMember property
I can set to DataGrid.DataMember = "Section"; and I will get that one,
but essential I want a table with both elements in there...
Is there anyway to do this...?
Thank You
I have xml like this....
<test>
<question>sdfsa</question>
<section><question>43ga</question>
<question>asdf</question>
</test>
I make and xsd file with
<xs:all>
<xs:element....
<xs:element....
</xs:all>
I then bind the XML to a DataGrid...
DataGrid.DataSource = DataSet;
DataGrid.DataBind();
but I only get the questions, I notice there is a DataMember property
I can set to DataGrid.DataMember = "Section"; and I will get that one,
but essential I want a table with both elements in there...
Is there anyway to do this...?
Thank You