Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update Table without PK?
Message
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00648523
Message ID:
00650223
Views:
23
>but it seems to require the PK being set on the backend. I tried setting the PrimaryKey property, and that didn't work.

I have never tried it without a PK. You might be able to make it work by providing your own update command. I remember that classic ADO would give an error if you executed an update command that updated too many rows, like if you unintentially updated too may rows because you did not specify a PK. Obviously, you could bypass the data adapter and execute any sql command with ExecuteNonQuery.
Previous
Reply
Map
View

Click here to load this message in the networking platform