Posted 2 April 2020, 2:45 pm EST
Hello,
I have a Grid with the following 2 columns and would like to filter records where only countries selected are in the same SN column, How do I achieve this using VB.NET
For example if Grid3 contains
SN CTRY
10411 BEL
10411 USA
10411 DNK
10421 USA
10421 DNK
10421 CAN
10431 BEL
10432 USA
10432 BEL
And I select BEL and USA from Grid1 (‘BEL’,‘USA’)
Grid3 should only display the following records:
10411 BEL
10411 USA
10432 USA
10432 BEL
And if I select SN (10411) from Grid2 and Countries (‘BEL’, ‘USA’) from Grid1, Grid3 should only display the following records:
10411 BEL
10411 USA
If possible please send me the solution in a sample project.
Thanks,
Victor