char[] delimetersChars = { '\n', '\r' }; if (File.Exists("C:\\MeterIDs.csv")) { StreamReader sr = new StreamReader("C:\\MeterIDs.csv"); // MessageBox.Show("Found it!"); Defaults = sr.ReadToEnd(); sr.Close(); string[] Values = Defaults.Split(delimetersChars); foreach (string v in Values) rtbLoaded.Text = rtbLoaded.Text + v+ ' '; } else MessageBox.Show("Not Found MeterIDs.csv");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)