i made a sudoku game using windows forms, the datagrid was very easy to handle, for example
dataGridView1[2,3]=5;
now in wpf the datagrid cant be used like this and i need to find the easiest way to test and fill the grid, for example i had codes like :
for (i = 0; i < 9; i++)
{
for (j = 0; j < 8; j++)
{
for (k = j + 1; k < 9; k++)
{
if (dataGridView1[i, k].Value != null)....
}
}
}
}
any help?