The following tables list the members exposed by DataRecordCollection.
Name | Description | |
---|---|---|
DataRecordCollection Constructor | Costructs the collection and initializes its owner data adapter reference. |
Name | Description | |
---|---|---|
Count | Number of records in the collection. | |
CurrentRecord | ||
OwnerAdapter | Reference to the DataSourceAdapter object that owns the collection. | |
SelectArguments | Keeps a reference to the requested select arguments. |
Name | Description | |
---|---|---|
Current | The current DataRecord as enumerating through it | |
HasSummaries | Indicates whether the record collection has any summaries set up. | |
Summaries | A hashtable storing calculated summaries |
Name | Description | |
---|---|---|
AddSummaryField | Adds a field to the summaries calculation operation. | |
GetAverage | Gets average value of all cells in the field. | |
GetCount | Gets count of all cell values in the field. | |
GetEnumerator | Implements the method off the IEnumerator<DataRecord> interface. | |
GetMax<T> | Gets maximum value of all cell values in the field. | |
GetMin<T> | Gets minimum value of all cell values in the field. | |
GetNextRecord | Overloaded. Returns reference to the next record after the provided one. | |
GetOriginalEnumerator | Returns the original enumerator of the records in the data source. | |
GetSum<T> | Gets sum of all cell values in the field. | |
GetSumEnumerator | Returns the enumerator of the records in the data source with RowFilter being set to "", this way we can calculate all the summaries. | |
IsSummaryField | Indicates whether a field is marked for collecting summaries. | |
LoadViewState | Load data modified at run time. | |
SaveViewState | Save data modified at run time. |
Name | Description | |
---|---|---|
CalculateSummaries | Calculates summaries for all marked for calculation fields in the record. | |
NewSummaryValue | Recalculates summaries for the new value. |