Mathematics
Mathematics

Reputation: 7618

How to remove primary key from strongly typed Dataset

How can I remove primary key or foreign key from strongly typed data-set in designer view ? I tried followings without success,

I am getting duplicate values for ID so it's intended but how can I stop this annoying error ?

enter image description here

enter image description here

If i preview the data there is no nulls being returned so it's just duplicate value i think..

Upvotes: 1

Views: 1104

Answers (1)

Mathematics
Mathematics

Reputation: 7618

Found it, right clicked on the column and then clicked on "Delete Key" for each column.

Upvotes: 3

Related Questions