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:
00648855
Views:
23
Make sure you are including the primary key in your select statement. What does your UpdateCommand look like?

>Hi,
>
>Is it possible to use the SqlDataAdapter.Update() using a SqlCommandBuilder object to generate the update commands without setting a PK on a table in SQL server?
>
>I tried specifying the PrimaryKey property on the Table object but that didn't work.
>
>Thanks,
>
>Michael Henstock
>AWS
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform