title: Copying the values from a DataGrid to an Array vb6
body: <p>i have a problem that i want to resolve.</p>
  
  <p>I want to check if a column have a value repeated in the rows of a datagrid, before the adodc update the records in the database.</p>
  
  <p>For doing that i'm gonna get the records that are showed in the DataGrid and put them in an Array, then count the quantity of rows with the same value in the cell.</p>
  
  <p>The problem i have is that i can't put the cells of the DataGrid in an array so i can do the check of the repeated rows.</p>
  
  <p>How can i get the Cells of the DataGrid in an Array?
  Or how can i know if the value of a row is repeated before making the update in the database?</p>