adoData2.Active := False;
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+QuotedStr(p2);
adoData2.Active := True;
--------------------------------------------------------------------
[错误] Unit_Main.pas(508): Incompatible types: 'String' and 'TLabel'
紧急求助,出现以上错误怎么解决
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+QuotedStr(p2);
adoData2.Active := True;
--------------------------------------------------------------------
[错误] Unit_Main.pas(508): Incompatible types: 'String' and 'TLabel'
紧急求助,出现以上错误怎么解决
解决方案 »
- 字符串中含有"&"字符,怎么办?Delphi好像会自动处理掉
- 已经连接好数据库,为什么DBGrid1在运行时显示不了数据?
- delphi6为何我写代码时活动的unit已经变化,而左边的查看类和过程变量等的那个monitor窗口(我说不准具体名称)不随之变化?
- 求一控件
- 救命阿 怎样动态创建 clientsocket和serversocket组件
- 张国容是怎么死的?
- 想做一个图书馆管理系统,那位高手可以提供指导或源代码
- 为什么fastreport横向打印会出现缺边现象?来者都是高手!!
- 权限获得问题
- 如何建立一个像“开始”菜单那样左边显示一个图片条的pop菜单呢?
- 怎么在cxgrid中获取值?
- dbgrid 的操作问题
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+QuotedStr(p2.caption);
adoData2.Active := True;
adoData2.Active := False;
adoData2.SQL.Clear;
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+''''+QuotedStr(p2.caption)+'''';
adoData2.Active := True;
凑个热闹,呵呵