Using ReadXML on strongly typed dataset results in each record being added twice RRS feed

  • Question

  • I am having a problem reading xml from a file into a strongly typed dataset.  Below is the code;


    FilteredAlertsDataSet filteredAlert = new FilteredAlertsDataSet();
    return filteredAlert;

    Each record in my file is getting entered twice in its respective data table.  Any thoughts?

    Tuesday, July 5, 2011 4:26 PM


  • The problem was due to a changed element name in the xml.  After correcting the spelling it works as expected.
    • Marked as answer by Exurb Tuesday, July 5, 2011 5:51 PM
    Tuesday, July 5, 2011 5:51 PM

All replies