title: String is not separating by comma after taking values from data grid view
body: <p>I am working on a winform application. I have a grid view. I am taking data grid view first column value to my string variable...so my code is like this</p>
  
  <pre><code> Dim cnt As Integer = DGVall.RowCount
          Dim tbarcode As String
          Dim tbarcodepass As String
          For i = 0 To cnt - 2
              If Not IsDBNull(DGVall.Rows(i).Cells(0).Value) Then
                  tbarcode = DGVall.Item(0, 1).Value
                  tbarcodepass += tbarcode.Split(New Char() {","c})(0)
              End If
  
          Next
  </code></pre>
  
  <p>but getting result is not proper  </p>
  
  <p>the string is not separating by comma.</p>