dataset primkey

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

Hello,

how do I remove the primary key on a datatable in a dataset (without
removing the data itself)?
Set the primary key to nothing? Or how?
Thanx
Frank
 
You should just be able to right click on the key, go to keys.. and click
remove.

I think he meant programmatically. Frank, did you try setting the PrimaryKey
property to Nothing?
 
Yes Jeff, this seems to work. I did not try it before, because I thought
that couldn't be it.
Thanks
Frank
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top