Updating database from datagrid dating love moldova
So, I begain experimenting by placing my update code into various events.
I tried in conjunction with my update sub, but none of those would update the database when the focus left the edited row. Surley it's possible to commit the changes made on the Data Grid View to the database when the focus is moved off the edited/new row.
Dim conn As New My Sql Connection("server=localhost; user id=root; password=; database=abc2") Dim interogare1 As New My Sql Command Dim My Adapter As New My Sql Data Adapter Dim My Data As New Data Table Private Sub Data_Aquisition_Load(By Val sender As System.
Open() Catch myerror As My Sql Exception Message Box.
Data Grid View Cell Event Args) Handles Data Grid View1.