This is not a simple task; if you want to compare your Excel sheet data into database result you need to understand the both the structures and datatype formats, both should be in same format, if it is not in same then convert that into one unique format and then read the excel data as well as database data and compare both the result as you want.--------------------------------------------------------------------------------Give respect to your work, Instead of trying to impress your boss.