Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Datagrid Control (http://www.velocityreviews.com/forums/f60-asp-net-datagrid-control.html)
-   -   datacolumn.expression - Minimum, maximum and average (http://www.velocityreviews.com/forums/t760066-datacolumn-expression-minimum-maximum-and-average.html)

gg 01-06-2004 11:19 PM

datacolumn.expression - Minimum, maximum and average
 
Does anyone know how to find the min, max in a list of fields within a
ROW using the Datacolumn.expression ??

Many thanks in advance.

gg

Mike McIntyre 01-10-2004 11:05 PM

datacolumn.expression - Minimum, maximum and average
 

Dim maxPrice As Decimal

maxPrice = aDataSet.Tables("Products").Compute("Max
(UnitsOnOrder)", ""))

Learn more at:

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpref/html/frlrfSystemDataDataTableClassComputeTopic.as
p

Mike McIntyre
Source Code for .NET Developers
http://www.getdotnetcode.com

>-----Original Message-----
>Does anyone know how to find the min, max in a list of

fields within a
>ROW using the Datacolumn.expression ??
>
>Many thanks in advance.
>
>gg
>.
>



All times are GMT. The time now is 03:11 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.