I’m trying to compare values retrieved using get outlook mail messages to values in the database. For example, I’m retrieving the mail IDs using the message.from function. I’m trying to compare this with the mail IDs present as a column in the database. I tried string.compare ,but the problem is that the database values are of the type datarow. Can anyone help me with a few other functions i can try with?