I'm using Windows Forms , GridControl DevExpress , SQL Server 2008 .
I try to load a GridControl data using a DataTable . The code is as follows:
var dtDatos = GetAll("SELECT EmployeeID, FirstName, LastName, Address FROM Employees");
if (dtDatos.Rows.Count > 0)
{
for (int Nro = 0; Nro < dtDatos.Rows.Count; Nro++)
{
;
}
}
The variable dtDatos
is the DataTable that brings me the records from the database, and by for
I try to fill it with data, but the problem is that I do not know what properties are use in a GridControl .