I have a datatable and I want to create a text file using this datatable. I want that each row of the newly created text file is unique. If there is a duplicate row, then it should add * to both rows ( duplicate rows)
我使用以下法典:
Dim str As String
For Each row As DataRow In dataTable.Rows
str += row(1) This is text data
str += "<br/>"
Next
请建议我如何使各行各有独一无二之处。
成就