The problem here is you are comparing a List<string> and a string for equality.  There is no such comparison available in C# hence an error is produced.  If you are attempting to determine if the string is present in the list then do the following instead
if (id.Contains(Convert.ToString(row[tid])))
0
solved operator == can not be applied to operand of type ‘system.collections.generic.list