I receive no errors when i compile the program, however as soon as I click the save button I receive 'InvalidOperationException was unhandled'.
XmlSerializer serializer = new XmlSerializer(obj.GetTYpe()); Is then highlighted,
public static void savedata(object obj, string filename)
XmlSerializer serializer = new XmlSerializer(obj.GetTYpe());
using(StreamWriter writer = new Streamwriter(filename)
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)