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

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -