So if something pops up in my listbox1 it will write it to the csv?
{
//using (StreamWriter stream = new StreamWriter("C://graph_data.csv"))
System.IO.StreamWriter sw = new System.IO.StreamWriter("C://graph_data.csv");
foreach (object item in listBox1.Items)
sw.WriteLine(item.ToString());
sw.Close();
};
}
This post has been edited by Sparukus: 28 November 2010 - 11:31 AM

New Topic/Question
Reply




MultiQuote







|