title: how to apply changes to datagridview without database vb
body: <pre><code>Dim form As New form2
  saleform.DataGridView3.Rows.Add(TextBox1.Text, TextBox2.Text, TextBox4.Text, TextBox5.Text)
  </code></pre>
  
  <p>PS the code came from another form. The code works when it is on the same form as DataGridView, but doesn't work when used from the second form.</p>