See the image below to understand better.
http://img18.imageshack.us/img18/9086/inventoryadd.jpg
When I click add button in form2 it doesn't show any changes in the datagridview does anyone know what code I should use so the datagridview changes when I click add.
I am now using a update button and that shows the changes made in the datagridview.
Here is the code I use in update button:
private void updateButton_Click(object sender, EventArgs e)
{
this.partsTableTableAdapter.Fill(this.partsDataSet.partsTable);
MessageBox.Show("Updated");
}