I\'ve built a very simple table that displays 4 columns and 4 rows. When the following code is executed it displays every other element in the .xml file. It does not discri
Because both .Read() and .ReadElementContentAsString() (the parameterless overload) move the reader to the next node.
.Read()
.ReadElementContentAsString()
Change your while condition to:
while
while (!reader.EOF)
Then add:
else reader.Read();