Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 697
  • Last Modified:

SQLDataAdapter Update Command Not Create

When I add a SQLDataAdpater to a form the wizard indicates that is will create the Select, Insert, Update, and Delete commands.  However, only the Select and Insert commands are created.  I am using Visual Studio 2008 Express and SQL Server Management 2005 Express.  What am I missing?
0
StoneCutter3
Asked:
StoneCutter3
1 Solution
 
Wayne Taylor (webtubbs)Commented:
Does your table have a Primary key? Update and Delete commands require a primary key to work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now