database 链接sql 2000 test connection successe
QueryDataset SELECT usertable.id,usertable.username,usertable.password,usertable.sign FROM my.dbo.usertable test query success添加tablescrollPane 和jdbtable 但运行时不能添加记录、save changes 就会提示以下错误,请问该如何解决,请指点!在线等候!谢谢
DataSet has no unique row identifiers.
Note: For QueryDataSets you need to disable metaDataUpdate.ROWID in the MetaDataUpdate property, in addition to setting the RowId property on a column.
QueryDataset SELECT usertable.id,usertable.username,usertable.password,usertable.sign FROM my.dbo.usertable test query success添加tablescrollPane 和jdbtable 但运行时不能添加记录、save changes 就会提示以下错误,请问该如何解决,请指点!在线等候!谢谢
DataSet has no unique row identifiers.
Note: For QueryDataSets you need to disable metaDataUpdate.ROWID in the MetaDataUpdate property, in addition to setting the RowId property on a column.
应该是楼主的数据库的记录中字段的问题
类似haode(好的)所说的那样
应该找insert语句看看
找出insert语句去控制台试试
2. 将你所检索的table主键对应的字段属性rowid置为true。