0

this code

XmlTextWriter bankWriter = null;
           bankWriter = new XmlTextWriter(Convert.ToString(first.Text));


...cant convert string to system.io.xmlwriter...invalid aguments

see Screenie


how do i fix this?

1
Contributor
1
Reply
2
Views
12 Years
Discussion Span
Last Post by tayspen
0

Got it...

XmlTextWriter bankWriter = new XmlTextWriter(Convert.ToString("H:\\Contacts\\" + first.Text + ".xml"), null);

for those who were wondering


please mark as solved


-T

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.