请问用DBGrid控件怎么对数据库操作
我用了ADOQuery,ADODataSoure,DBGrid三个控件,将数据显示在DBGrid上一切正常,并且能够修改,但是我用datasource1.DataSet.delete删除时总是提示出错。错误为:
raised exception class EOleException With message "DELETE statement conflicted with COLUMN REFERENCE constraint 'FK_titleauth_au_id_164452B1'.The confict occurred in database 'pubs',table 'titeauthor',column 'au_id''.Process stopped...
奇怪的是我的表名为authors并不是titeauthor。。谁能帮我。