SyntaxFix
Write A Post
Hire A Developer
Questions
This worked fine for me
int max = Convert.ToInt32(datatable_name.AsEnumerable() .Max(row => row["column_Name"]));