procedure TForm1.Button1Click(Sender: TObject);
var
a,i,j,b : integer;
begin
a:= 0;
j:=stringgrid1.rowCount;
i:=0;
for b:=0 to j-1 do
begin
a:=a+strtoint(stringgrid1.cells[i,b]);
label1.Caption:= inttostr(a);
end ;
label1.Caption:= inttostr(a);
end;
Nice İnsanlar gördüm üstünde elbise yok;
Nice elbiseler gördüm içinde insan yok.