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
 
Back
Top