strtoint(stringgrid1.Cells[i,j])
stringgrid1.Cells[9,i]:=
property Cells[ACol, ARow: Integer]: string