QuickObjects.ObjectBase Send comments on this topic.
GetDelimetedValue(DataRow[],String,String) Method
See Also 
Akal.QuickObjects.ObjectBase Namespace > BaseBusinessObject Class > GetDelimetedValue Method : GetDelimetedValue(DataRow[],String,String) Method
drs
An array of DataRows that contain the field whose value will be used to create the delimited String.
field
field that must exist in each DataRow.
delimit
String value that will be used as a separator between each field value.

GetDelimetedValue

Goes through all records in an array of DataRows and adds all the values for the field into a delimited String where each value is separated by passed in value of delimit parameter.

Parameters:
Description
drsAn array of DataRows that contain the field whose value will be used to create the delimited String.
fieldfield that must exist in each DataRow.
delimitString value that will be used as a separator between each field value.

Returns:
Type
System.String

Syntax

C# 
public string GetDelimetedValue( 
   DataRow[] drs,
   string field,
   string delimit
)

Parameters

drs
An array of DataRows that contain the field whose value will be used to create the delimited String.
field
field that must exist in each DataRow.
delimit
String value that will be used as a separator between each field value.

Return Value

String value that has all the field values seperated by the delimit value.

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also