G
goodsand
Unregistered / Unconfirmed
GUEST, unregistred user!
请教各位大侠,我使用 TSimpleDataSet TDBGrid TDatasource 控件连接MYSQL 数据库时,执行以下,但是数据库没有更新,是怎么回事?
dbgrid1.DataSource.DataSet.Edit;
dbgrid1.DataSource.DataSet.FieldByName('number').AsString:='test';
dbgrid1.DataSource.DataSet.Post;
dbgrid1.DataSource.DataSet.Edit;
dbgrid1.DataSource.DataSet.FieldByName('number').AsString:='test';
dbgrid1.DataSource.DataSet.Post;