Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > datacolumn.expression - Minimum, maximum and average

Reply
Thread Tools

datacolumn.expression - Minimum, maximum and average

 
 
gg
Guest
Posts: n/a
 
      01-06-2004
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
 
Reply With Quote
 
 
 
 
Mike McIntyre
Guest
Posts: n/a
 
      01-10-2004

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
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating the maximum number of menus and maximum number of stills rossco DVD Video 2 11-24-2005 09:33 PM
DVD Verdict reviews: AVERAGE WHITE BAND: LIVE AT MONTREUX and more! DVD Verdict DVD Video 0 09-29-2005 08:16 AM
Need To Find average response time and response Size Meena Lalwani ASP .Net 1 08-31-2005 11:37 AM
The number name 'System.Web.UI.WebControls' contains more than the maximum number of prefixes. The maximum is 3. mayur ASP .Net Web Controls 2 07-16-2004 05:14 PM
The number name 'System.Web.UI.WebControls' contains more than the maximum number of prefixes. The maximum is 3. mayur ASP .Net 2 07-02-2004 10:35 AM



Advertisments