G
Guest
Hi,
I'm accessing a SQLServer database wich is in a replication schema, the
tables has the rowguidcol attribute. The problem comes when I use the
Dataadapter.Update method it raises the next error "Updating columns with the
rowguidcol property is not allowed". I look around what the problem is, and
found the Update Command the VisualStudio 2003 makes automatically when
dragging the table to create the datadapter, it includes the rowguidcol
column into the updatecommand, so it brings out the error.
So, my question is: Is there any way to change (as automated as possible)
when I drop the table over the VS the datadapter update command generated,
ignores the rowguid columns? actually I have to change manually the command
to ignore that column.
Thanks everyone.
I'm accessing a SQLServer database wich is in a replication schema, the
tables has the rowguidcol attribute. The problem comes when I use the
Dataadapter.Update method it raises the next error "Updating columns with the
rowguidcol property is not allowed". I look around what the problem is, and
found the Update Command the VisualStudio 2003 makes automatically when
dragging the table to create the datadapter, it includes the rowguidcol
column into the updatecommand, so it brings out the error.
So, my question is: Is there any way to change (as automated as possible)
when I drop the table over the VS the datadapter update command generated,
ignores the rowguid columns? actually I have to change manually the command
to ignore that column.
Thanks everyone.