主题:[原创]急!!!请问各位大虾!
[em10][em10]
我在更新提交时,出现'dataset not in edit mode or insert mode’怎么改.
程序例如:
adodataset1.CommandText:='select * from ado';
adodataset1.Open;
adodataset1.Edit;
adodataset1.FieldByName('uid').Value:='ddd';
adodataset1.UpdateBatch(arall);
adodataset1.Post;
[em10][em10][em10]
我在更新提交时,出现'dataset not in edit mode or insert mode’怎么改.
程序例如:
adodataset1.CommandText:='select * from ado';
adodataset1.Open;
adodataset1.Edit;
adodataset1.FieldByName('uid').Value:='ddd';
adodataset1.UpdateBatch(arall);
adodataset1.Post;
[em10][em10][em10]