want to search items using datagridview 1 as my search Engine and search to datagridview2 and display the result to datagridview2
it must go like this
want to search items using datagridview 1 as my search Engine and search to datagridview2 and display the result to datagridview2
it must go like this
Copyright © 2021 Jogjafile Inc.
Assuming you have a
DataTabledefined (you should, if you want to work with grid data), you can define and use following method:C#:
To get sum of som column for particular search string:
To place the sum into the 2nd table:
You can work with
DataGridViewvalues directly:...but I wouldn't recommend it. You can get into trouble with DataTypes and more.
VB.NET: