Why would you expect anything else?
Ignoring the unnecessary ToStrings (you don't have to convert strings to strings, they are already...), you are comparing a value retrieved from one table against a different value which was used to retrieve it.
The equivalent code to what you are doing is:
string companyId = "AAA001";
string companyName = "Aardvark Enterprises";
if (companyName == companyId)
{
...
}
And expecting it to match...