datacolumn.expression - Minimum, maximum and average

Discussion in 'ASP .Net Datagrid Control' started by gg, Jan 6, 2004.

  1. gg

    gg Guest

    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
     
    gg, Jan 6, 2004
    #1
    1. Advertising

  2. 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
    >.
    >
     
    Mike McIntyre, Jan 10, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    607
  2. SMH
    Replies:
    0
    Views:
    842
  3. Replies:
    8
    Views:
    793
    Ben Bacarisse
    Oct 19, 2008
  4. Lee Franke

    Help with DataColumn.Expression

    Lee Franke, Oct 14, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    320
    Lee Franke
    Oct 14, 2003
  5. Peng Yu
    Replies:
    16
    Views:
    440
    Philip Potter
    Jan 31, 2010
Loading...

Share This Page