Hi Maam and Sir.
I need your expertise on vb.net.
I have two data grid with database on their own. I want to copy/update the data from one database to another.
The data grid have product codes and prices. I want to copy/update only the prices from the first data grid or vice versa.
Also I have checked boxes so i can select more to copy or update.
Please help me. I attached the screenshot of my data grid.
Jump to Post
If product names are really the same in both datagridview, i.e., no need to add rows:
Dim us As New Globalization.CultureInfo("en-US") Function parseN(value As String, ByRef result As Double) As Boolean Return Double.TryParse(value, Globalization.NumberStyles.Any, us, result) End Function Private Sub btnCopyLeftToRight_Click(sender As System.Object, e As System.EventArgs) …
All 4 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.