If you're using .NET 2.0 you should use File.ReadAllLines:Either way you should always specify your version when posting.Code:comboBox1.Items.AddRange(System.IO.File.ReadAllLines("file.txt"));
|
Results 1 to 4 of 4
Threaded View
|
Click Here to Expand Forum to Full Width |