我想从数据库中提出数据并把他导入一个二维数组中,然后从二维数组中把一些数据导入到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不正确,请问有什么好方法。先谢了
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不正确,请问有什么好方法。先谢了
解决方案 »
- 这种问问题的方法,这个帖当年怎么就没火起来??(无意中翻出陈年旧历)
- 急急急!请问BDE+SQL Link,如何连接使用windows集成验证的SQL Server2000,谢谢!
- 我的报表不能显示查询所得的结果,而是所有的值
- 升四个三角,感谢大家支持!散。。。.
- 动态加载SQL语句时TADOQuery检查不出SQL参数?
- 调用文件
- 我想在mdi应用程序的主框架显示之后弹出系统登陆的对话框
- 请教一下小弟怎么用这个东西? 一定给分。
- 在Dephi中使用创建“DLL”和“ActiveX Library”两种方式产生的“DLL”有何区别?
- 自动累加的问题(这回应该很清楚了吧)
- 紧急求救 round()函数的四舍无入问题!请高手来也!
- 用过扫描仪的朋友请进,哪里能下载紫光扫描仪的操作软件?
for i := 0 to controlcount - 1 do
//use Controls[i]for i := 0 to ComponentCount - 1 do
//use Components[i]