我想从数据库中提出数据并把他导入一个二维数组中,然后从二维数组中把一些数据导入到form上的label的caption      for i:=0 to controlcount-1 do
        begin
          if components[i] is tlabel then
            begin
              if ((components[i] as tlabel).Caption<>'输入:') or ((components[i] as tlabel).Caption<>'收款机号:') then
              begin
              j:=strtoint(funvalue[i,4]);
              (components[i] as tlabel).Caption:='-'+listbox1.Items.Strings[j];
              end;
            end;
        end;但是导入到label不正确,请问有什么好方法。先谢了