Class DataRowHelper
Helper class for DataRow objects or IEnumerable objects.
Inheritance
Inherited Members
Namespace: Syncfusion.Olap.Engine
Assembly: Syncfusion.Olap.Base.dll
Syntax
public class DataRowHelper
Constructors
DataRowHelper()
Declaration
public DataRowHelper()
Methods
ComputeAvg(IEnumerable, String)
Computes the average.
Declaration
public static string ComputeAvg(IEnumerable ienum, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | ienum | The IEnumerable object. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The average value. |
ComputeAvg(DataRow[], String)
Computes the average.
Declaration
public static string ComputeAvg(DataRow[] dataRowCollection, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | dataRowCollection | The collection of data row objects. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The average value. |
ComputeCount(IEnumerable, String)
Computes the count.
Declaration
public static string ComputeCount(IEnumerable ienum, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | ienum | The IEnumerable object. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The count value. |
ComputeCount(DataRow[], String)
Computes the count.
Declaration
public static string ComputeCount(DataRow[] dataRowCollection, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | dataRowCollection | The collection of data row objects. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The count value. |
ComputeMax(IEnumerable, String)
Computes the maximum element.
Declaration
public static string ComputeMax(IEnumerable ienum, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | ienum | The IEnumerable object. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The maximum value. |
ComputeMax(DataRow[], String)
Computes the maximum.
Declaration
public static string ComputeMax(DataRow[] dataRowCollection, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | dataRowCollection | The collection of data row objects. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The maximum value. |
ComputeMin(IEnumerable, String)
Computes the minimum element.
Declaration
public static string ComputeMin(IEnumerable ienum, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | ienum | The IEnumerable object. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The minimum value. |
ComputeMin(DataRow[], String)
Computes the minimum.
Declaration
public static string ComputeMin(DataRow[] dataRowCollection, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | dataRowCollection | The collection of data row objects. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The minimum value. |
ComputeSum(IEnumerable, String)
Computes the sum.
Declaration
public static string ComputeSum(IEnumerable ienum, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | ienum | The IEnumerable object. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The sum value. |
ComputeSum(DataRow[], String)
Computes the sum.
Declaration
public static string ComputeSum(DataRow[] dataRowsCollection, string columnName)
Parameters
Type | Name | Description |
---|---|---|
System.Data.DataRow[] | dataRowsCollection | The collection of data row objects. |
System.String | columnName | The name of the column. |
Returns
Type | Description |
---|---|
System.String | The sum value. |