Hallo There
was hopng I could ask for some advice.
Which would be the best way to read data from a textFile and adding this to a checkedListBox?
something like this although this doesn’t work out properly.
FileStream fs = new FileStream("../../Features.txt", FileMode.Open, FileAccess.Read);
BufferedStream bs = new BufferedStream(fs);
fs.Close();
StreamReader sr = new StreamReader("../../Features.txt");
chkFeatures.Items.Add(sr.ReadToEnd());
sr.Close();
Regards
Arian
Here is another way: