c# - Adding information to an already existing xml folder from a windows form -
i trying store information writen form following code keeps happening override 1 there no add it. have following code xml serilaztion.
xmlserializer xmlserializer = new xmlserializer((iclass.gettype())); writer = new streamwriter(filename); xmlserializer.serialize(writer, iclass); creditcard cc = new creditcard(cardnumber, expirydate, creditcardtype); user u = new user(name, surname, gender, posistion, wage, amount, banktype, cc, username, password); xmlsave x = new xmlsave(u, "customers.xml");
i have try keep same format because school project.
Comments
Post a Comment