Click here to Skip to main content
15,910,009 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have two gridview in windows application and i have to check that if two common id are present in two gridview then the particular row in both gridview become green .If only one id is present then it become red.Anyone have idea how to do it.I am new to it please help
Posted
Updated 22-Oct-13 22:32pm
v2

 
Share this answer
 
using foreach loop, get the values from both the datagrids in different variables and then match them, if they match then the color of that particular ID in both gridview will become green otherwise red.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900