delphi出错:dataset not in edit or insert mode怎么办? 如何修改dbgrid里的数据啊 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在编辑前测试数据集状态,大概如下,不在编辑状态的话,先进入编辑状态if table1.status<>'edit' then table1.edit; 你代码问题,修改时adoquery1.Edit;adoquery1.FieldByName('myname').AsString := '中国';adoquery1.Post; 不在修改或插入状态下 进行编辑货插入操作 table1.edit; or table1.insert; table1.state=dsedit,table1.state=dsinsert 判断状态后再保存。if adoquery1.state in [dsEdit, dsInsert] then adoquery1.post; 关于COM的问题 动态创建cxgrid 退出的时候报错 弱问: 有关dxTreeList 求购类似Symantec AntiVirus中的一个自动升级病毒库的功能,有意者请联系 290959810,欢迎大家参与讨论LiveUpdate的 怎样获得二维动态数据的长度 如何判斷鼠標在一個可視控件上停留了多長時間? 大侠们看过来:怎样开发一个FTP服务器端的程序? 如何知道线程结束了? asp中数据打印的COM开发! listbox自动换行,换行后,做为一整行,急急急!!! FastReport 还是固定行问题 急,在线等。。高手进。。
if table1.status<>'edit' then
table1.edit;
adoquery1.FieldByName('myname').AsString := '中国';
adoquery1.Post;
if adoquery1.state in [dsEdit, dsInsert] then
adoquery1.post;