Wraps an object of the DataRow type.

Namespace: Dapfor.Net.Data
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public sealed class DataRowAccessor : IDataAccessor, 
	IEnumerable<IDataField>, IEnumerable
Visual Basic
Public NotInheritable Class DataRowAccessor
	Implements IDataAccessor, IEnumerable(Of IDataField), 
	IEnumerable
Visual C++
public ref class DataRowAccessor sealed : IDataAccessor, 
	IEnumerable<IDataField^>, IEnumerable
F#
[<SealedAttribute>]
type DataRowAccessor =  
    class
        interface IDataAccessor
        interface IEnumerable<IDataField>
        interface IEnumerable
    end

Remarks

Usually this class enables the grid working with data tables.
 Copy imageCopy
void SetDataSource(Grid grid)
{
    DataSet dataSet = new DataSet();
    dataSet.ReadXml("test.xml");
    DataTable employee = dataSet.Tables["Employee"];

    grid.DataSource = employee;
}

Inheritance Hierarchy

System..::..Object
  Dapfor.Net.Data..::..DataRowAccessor

See Also