Wraps an object of the DataRow type.

Namespace: Dapfor.Wpf.Data
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

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(GridControl grid)
{
    DataSet dataSet = new DataSet();
    dataSet.ReadXml("test.xml");
    DataTable employee = dataSet.Tables["Employee"];

    grid.ItemsSource = employee;
}

Inheritance Hierarchy

System..::..Object
  Dapfor.Wpf.Data..::..DataRowAccessor

See Also