After conversion to Windows - copytotable syntax gives an error

After conversion to Windows; this statement seems to be the bottleneck… any suggestions?

(From x In DTAssignments.AsEnumerable() Order By convert.ToString(x(“Project: MA”)), convert.ToString(x(“Project: Project Name”)) Select x).CopyToDataTable

ensure or better retype any double quote from the statement and check that is this one: " and not others e.g. “

Hi @ton_roelandse

Can you give a try on this expression

(From x In DTAssignments.AsEnumerable() Order By convert.ToString(x("Project: MA")), convert.ToString(x("Project: Project Name")) Select x).CopyToDataTable


Hello @ton_roelandse

Can you please share the correct error here? And after the upgrade to windows have you updated all the dependent packages to the latest version? If not please give it a try.