title: getting gridview columns values in array list
body: <p>I have gridview in which i have check box control Like this image.</p>
  
  <p><img src="https://i.stack.imgur.com/CvBOU.jpg" alt="enter image description here"></p>
  
  <p>Problem is that i want to use the values of checked status.Mean if status is checked then i want assign the values to a string like this <code>867,864</code>.I have tried a little code here but its not working properly</p>
  
  <pre><code>For Each gvrow As GridViewRow In GridView5.Rows
              Dim chkbox As CheckBox = CType(gvrow.FindControl("chkStatusGM"), CheckBox)
              If chkbox.Checked Then
                  Dim bpv As String = GridView5.Rows(0).Cells(3).Text
                  Response.Write(bpv)
  End If
          Next
  </code></pre>
  
  <p>But the out put is <code>867867</code> not <code>867,864</code> which i want.Please anyone help to get the desired output</p>