Posted on: 6/15/2014 10:51:28 AM | Views : 395

Hi Guys
i have 2 access databases one called revision and the other called revision2 . each database has table called batch 
i have datagridview that shows the data in the first database 
i need to compare between the 2 tables from the different databases and what matches get a green color in the data grid view 
i used that code but it only colors the first match not all 
private void dataGridView1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e) { OleDbConnection con = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\revision.accdb"); ...

Go to the complete details ...