auxius 0 Newbie Poster

please help me.im using vb studio 2010.my problem is that when im trying to save a data on the database access .accdb it wont update the datagrid on my main form..it only update on my CustomerInfoForm where you can input New Item info and a Datagrid but my Datagrid2 on my Main Form wont update...please help..sorry about my english

here is my code Save Button n my NewItemForm.after i click save i want to update my datagrid on my Form1.

Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdNewItemSave.Click

        Me.Validate()
        Me.TblStockItemsBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.DBsalesInventoryDataSet)

        Main.TableAdapterManager.UpdateAll(Main.DBsalesInventoryDataSet)
        Main.TblStockItemsDataGridView.Update() <==== [B]it wont update my datagrid on my main Form[/B]
        Main.TblStockItemsDataGridView.Refresh()
        Main.TblStockItemsTableAdapter.Fill(Me.DBsalesInventoryDataSet.tblStockItems)


        cmdNewItemSave.Enabled = False

    End Sub