Sebastián,
This is an indexer in C#. You simply have to refer to the row,column of the
cell. I have posted a sample from the MSDN below.
I hope this helps.
----------------------------
//link to the MSDN
http://msdn.microsoft.com/library/de...asp?frame=true
private void PrintCellValues(DataGrid myGrid){
int iRow;
int iCol;
DataTable myTable;
// Assumes the DataGrid is bound to a DataTable.
myTable = (DataTable) dataGrid1.DataSource;
for(iRow = 0;iRow < myTable.Rows.Count ;iRow++) {
for(iCol = 0;iCol < myTable.Columns.Count ;iCol++) {
Console.WriteLine(myGrid[iRow, iCol]);
}
}
}