this code

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

...cant convert string to aguments

see Screenie

how do i fix this?

Got it...

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

for those who were wondering

please mark as solved


Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.