I'm having a problem getting data from a listbox into the .txt file when using streamwriter. I can get data into the .txt file but it is not legible or useable.
The code I am using looks like this:
m_objOutput.WriteLine(lstSalaryTotals.Items)
I have tried various combinations after the . and even leaving as
m_objOutput.WriteLine(lstSalaryTotals) all to no avail.
Any help would be appeciated.
The code I am using looks like this:
m_objOutput.WriteLine(lstSalaryTotals.Items)
I have tried various combinations after the . and even leaving as
m_objOutput.WriteLine(lstSalaryTotals) all to no avail.
Any help would be appeciated.