c# - Save a ListView into Settings.settings? -


How can I save a ListView from multicolumns to Settings.settings and load them on run? I'm trying to save a ListView with 3 columns. How can i do

  1. Tie list view in some data structure.
  2. Using the SerialLaze xmlseriualizer - Then you can save the result in the settings.

Restructuring is done using deserialize.

  Stringworter output = new string viver (new string builder ()); XmlSerializer s = new XmlSerializer (this.GetType ()); S.Serialize (production, this); Var result = output. Toaster ()  

Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -