Can anyone give me an example how to use datagrid that will reflect its changes to your mysql database....
i havae tried doing th ff.
create the DataGridView (I let .NET create the BindingSource stuff)
Entered the following code into my 'Save' button click event:
Me.Validate()
Me.StgCustomerBindingSource.EndEdit()
Me.Stg_CustomerTableAdapter.Update(Me.AdventureWorksDataSet.Tables("stg_Customer"))
but it gave me an error (Update requires a valid UpdateCommand when passed DataRow collection with modified rows.)
i have inherited this style from the previous topic
however the thread is already closed so i started a new one.
please.your reply will be very much helpful...thank you
i havae tried doing th ff.
create the DataGridView (I let .NET create the BindingSource stuff)
Entered the following code into my 'Save' button click event:
Me.Validate()
Me.StgCustomerBindingSource.EndEdit()
Me.Stg_CustomerTableAdapter.Update(Me.AdventureWorksDataSet.Tables("stg_Customer"))
but it gave me an error (Update requires a valid UpdateCommand when passed DataRow collection with modified rows.)
i have inherited this style from the previous topic
however the thread is already closed so i started a new one.
please.your reply will be very much helpful...thank you