jindalee
asked on
Comparing datagridviews
Hello Experts
I have an application with 2 datagridviews. Neither is bound to a table.
Can someone tell me the best way to compare the contents? Basically, I have to check for entries in one that do not appear in the other.
I've seen quite a few similar questions suggesting using System.Reflection but they are all firstly in C# and secondly talking about databound datagridviews.
Thanks
I have an application with 2 datagridviews. Neither is bound to a table.
Can someone tell me the best way to compare the contents? Basically, I have to check for entries in one that do not appear in the other.
I've seen quite a few similar questions suggesting using System.Reflection but they are all firstly in C# and secondly talking about databound datagridviews.
Thanks
ASKER
My code
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The code worked very well. However, when I tested with a real data set, over 3000 items in both datagridviews, it was so slowwwwwwwwww, that I'm going to have to rethink how I am to implement. When first asked to do this, I was told there might be 100 or so items not 3000+ !!!!
or you want to extract the data from an external application?