jricklefs 0 Newbie Poster

I've built a Datatable that reads in a text file does some manipulation on it and then It's just sitting there. I've only been doing This for a few weeks and have been Stumbling through it at best. A friend of mine sent me this and said that this should work. But I am unsure on what items need to be created and What is the "sb" in the code is supposed to be? I know this needs modification but not sure how. Any Links or help would be very helpful Thank you.

Dim strContents As String
        Dim objReader As StreamWriter


        For Each R As DataRow In TABLES.Rows
            For Each o As Object In R.ItemArray
                sb.Append(o.ToString + ",")
            Next
            sb.Append(Environment.NewLine)
        Next
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.