If you are using tableadapters, i would recommend adding your own delete query. The standard ones are pretty heavy going, you have to put the value for every single column.
If you add a new query to the table adapter along the lines of:
DELETE FROM [TableName] WHERE ([PrimaryKeyColumn] = @Key)
You can call it like
itemTableAdapter.DelteQuery('keyvalue');
Ryshad
Nearly a Posting Virtuoso
1,307 posts since Aug 2009
Reputation Points: 512
Solved Threads: 247
Skill Endorsements: 10
Question Answered as of 3 Years Ago by
Ryshad