SyntaxFix
Write A Post
Hire A Developer
Questions
this works fine for me
DataTable DT = new DataTable(); DT = DT.AsEnumerable().Select(R => { R["Campo1"] = valor; return (R); }).ToArray().CopyToDataTable();