对不起,没弄出来,按照楼上的作adoquery1的设置 connectionstring连接数据库 sql属性:select * from db1.jzpz where(1=1); active=true datasource1.dataset=adoquery1 dbgrid1.datasource=datasource1 Columes将表内的内容全部添加,Readonly=false 调试出现错误!projectproject1.exe raised exception class EOleException with message'row cannot be located for updating. som values may have been changed since it was last read.
select * from db1.jzpz where1=1; adoquery1.requestlive:=true; 再将dbgrid1的OPTION属性集里的DGEDITTING设为TRUE应该就可以啦
topgrid
在
51delphi.com下载
它的属性里有的
[email protected]
connectionstring连接数据库
sql属性:select * from db1.jzpz where(1=1);
active=true
datasource1.dataset=adoquery1
dbgrid1.datasource=datasource1
Columes将表内的内容全部添加,Readonly=false
调试出现错误!projectproject1.exe raised exception class EOleException with message'row cannot be located for updating. som values may have been changed since it was last read.
adoquery1.requestlive:=true;
再将dbgrid1的OPTION属性集里的DGEDITTING设为TRUE应该就可以啦