cell[colindex,rowindex];var r,c:integer; s:string; for r:=0 to stringgrid1.rowcount-1 do for c:=0 to stringgrid1.colcount-1 do begin s:=stringgrid1.cell[c,r]; ...... end;
你还要如何详细?var r,c:integer; s:string; for r:=0 to stringgrid1.rowcount-1 do for c:=0 to stringgrid1.colcount-1 do begin s:=stringgrid1.cell[c,r]; ...... end; 还不够详细??? 你要读到什么地方?如果,你想看到这些东西,那我告诉你,你可以添加一个memo1 var r,c:integer; s:string; for r:=0 to stringgrid1.rowcount-1 do for c:=0 to stringgrid1.colcount-1 do memo1.lines.add(stringgrid1.cell[c,r]); 这样你就可以看到所有的结果放到memo1里了。
cell[colindex,rowindex];var
r,c:integer;
s:string; for r:=0 to stringgrid1.rowcount-1 do
for c:=0 to stringgrid1.colcount-1 do
begin
s:=stringgrid1.cell[c,r];
......
end;
r,c:integer;
s:string; for r:=0 to stringgrid1.rowcount-1 do
for c:=0 to stringgrid1.colcount-1 do
begin
s:=stringgrid1.cell[c,r];
......
end;
还不够详细???
你要读到什么地方?如果,你想看到这些东西,那我告诉你,你可以添加一个memo1
var
r,c:integer;
s:string; for r:=0 to stringgrid1.rowcount-1 do
for c:=0 to stringgrid1.colcount-1 do
memo1.lines.add(stringgrid1.cell[c,r]);
这样你就可以看到所有的结果放到memo1里了。