Chapter 19 Address List problem
First, I'd like to thank the authors for providing me with the first truly helpful text on working directly with XML data files.
I got almost all the way through the exercises when I threw an exception in the Address List. I get the following error: "Add failed. Duplicate key value supplied."
Visual Studio is telling me that, in the Case XmlNodeType.Text section, addressData and elementName are being used before they have been assigned values. I thought those values were assigned in the preceding Case XmlNodeType.Element section.
I tried pasting in the downloaded project code to theses sections, in case my copying skills are lacking, but it didn't help. Can anyone clue me in on what I might be doing wrong or not seeing?
Thanks in advance for any assistance.