title: How to dynamically add rows to datagrid in vb6
body: <pre><code>Set rs = conn.Execute(Statement)  //rs has 6 fields
  </code></pre>
  
  <p>I want to add the current row of rs, to the DataGrid. How could I do that?</p>
  
  <p>Sample:</p>
  
  <pre><code>DataGrid1.&lt;someFunction (say AddRow)&gt; = &lt;some operations with rs.Fields (say, Str(rs.Fields(0)) &amp; rs.Fields(1) &amp; rs.Fields(2) &amp; Str(rs.Fields(3)) &amp; Str(rs.Fields(4)) &amp; Str(rs.Fields(5))  &gt;;
  </code></pre>