c# - Load a DateTime array into ListBox? -
How can I save properties? Settings. Default format using date date (only with time)?
OK, I found it
Add a setting, choose Browse and Search the system Collection ArrayList
To save values
if (properties.Settings.Default.test == faucet) properties. Setting.default.txt = new system Selection.orialist (); a quality. Setting.default.txt.Add (new date time (200 9, 1, 1)); Properties.Settings.Default.Save ();
To retrieve values
the system. Selection.reel list list = properties Setting.default.txt (Int iDate = 0; iDate & lt; list.Qount; iDate ++) {DateTime Date Values = (Date Time) List [iDate]; } Take a look at
Comments
Post a Comment