Common Code Snippets
Get Max or Min Value in DataTable Column
The following code calculates the Max value in a DataTable column. Min can be calculated by replacing Max with Min in the code below.
DataTable Name
.Compute("max([
Column Name
])", String.Empty)
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment