i can write listbox in ini file, but i can't write ini file in listbox :S
this code write only one index
string dosyadan = ini.Read("Liste","0");
listBox1.Items.Add(dosyadan.ToString());
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Moses SpencerPosted Mar 2, 2015, 4:52 AM
For example let's say you have something like the following "Sample.ini" content:
[ListBoxItems]
ListBoxItem = Value 1.
ListBoxItem = Value 2.
ListBoxItem = Value 3.
You can read it into a ListBox controle like this:
Also you can write your ini content from the ListBox content like this:
Cenk IsikPosted Jul 30, 2012, 3:51 AM