G gzccjz Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-08 #1 DBGrid.columns.Items[0].Field.AsString:='' 为何出错? 提示不能插入和编辑??但dbgrid的realonly=false 有没其它办法代替上面那句?
G gzccjz Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-08 #3 dbgrid全是默认值,没打开过什么呀.总提示 Dataset not in edit or insert mode
K kaida Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-08 #4 DBGrid1.DataSource.DataSet.Edit; DBGrid1.Columns.Items[0].Field.AsString:=''; ...... DBGrid1.DataSource.DataSet.Post;
DBGrid1.DataSource.DataSet.Edit; DBGrid1.Columns.Items[0].Field.AsString:=''; ...... DBGrid1.DataSource.DataSet.Post;
只 只怕想不到 Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-08 #5 DBGrid数据源不是编辑或插入状态,你要编辑当然报错了,先将 DBGridEh1.DataSource.DataSet.Edit;//设置源数据集为可编辑状态. 还得看你的数据连接是不是只读的.
C cuiba Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-11 #6 dbgrideh1不在编辑状态或者插入状态,先对GRID进行修改或者插入才可以对其进行操作.
L listhano Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-11 #8 kaida就可以! 老富翁了,还这么活跃。难怪大富翁人气一直这么旺...
K kzjsuper Unregistered / Unconfirmed GUEST, unregistred user! 2007-12-11 #9 dbgrid有个option属性的dgediting项设置为true即可