比如一场考试一共三十个成绩,我想提取出最高五个分数以及最低五个分数。
Welcome back to our uipath community.
Try below expressions to get first and last 5 rows from DataTable.
firstDT = inputDT.AsEnumerable().Take(5).CopyToDataTable()
lastDT = inputDT.AsEnumerable.Reverse().Take(5).CopyToDataTable()
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.