You table needs to have a primay key defined in the database. The CommandBuilder uses this key to process updates and deletes
解决方案 »
- 各位大侠,请问怎样禁止网页“后退”啊?
- Mschart的显示问题,着急了
- fckeditor 过滤问题
- WNASP(这年头什么都“和谐”) .js文件里面用到另外一个.js文件的函数
- 请问谁能帮我 <<<<<<<comboBox 怎么根据指定的数据选定他 >>>>>>>>不帮也来顶!有分!!
- NHibernate , SqlHelper 使用中的大问题
- asp.net 中使用FastReport 打印按钮不能弹出打印框,而弹出下载框!
- 请教问题啊!
- 我的ASPX文件运行时服务器不解释,提示要我下载它,请问如何?
- 紧急求救,可惜这会儿'思归'在美国要睡觉了,请问其他高手:运行在服务器段的DIV怎么用脚本获得它的值。
- 为什么我用DataGrid做翻页时,翻到第2页很好,可翻到第三页时就翻不过去了???
- 请教DataGrid,Repeater和DataList的区别及其使用的场合。
create table test_t
(
username char(20) not null,
copid number(3,0) not null,--user id
lcount int not null
);
create unique index test_t_x1 on test_t (username);
create unique index test_t_x2 on test_t (copid);By the way, I used the DataSet ! Whether the primay key will be missed when select the data from db to dataset?Thanks in advance!
create table test_t
(
username char(20) not null,
copid number(3,0) not null,--user id
lcount int not null
constraint PK_test primary key (copid)
);
试试这样创建表
敬请各位高手提供解决之道。谢谢!!!BTW,可以加个临时的primary key 在DataSet, 而不用在DB里加呢?因为我的DB不需要primary key。