I am trying to make a Sudoku web application. I am creating a dataset
which holds the numbers that belong to each cell. Then these numbers
are unmasked to display the problem set to the user in a GridView.
However, I was to be able to mark the empty columns for editing. I
have tried this but it hasn't worked so far...
protected void gameGrid_RowDataBound(object sender,
if (e.Row.DataItemIndex > -1)
object obj = (object)e.Row.DataItem;
DataControlFieldCell cell =
if (cell.Text == "")
BoundField field1 =
field1.ReadOnly = false;
Any ideas? Thanks!