Solved

SQLDataAdapter Update Command Not Create

Posted on 2011-03-05
1
677 Views
Last Modified: 2012-06-27
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
Comment
Question by:StoneCutter3
1 Comment
 
LVL 47

Accepted Solution

by:
Wayne Taylor (webtubbs) earned 500 total points
ID: 35045154
Does your table have a Primary key? Update and Delete commands require a primary key to work.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ajax Panel Not Updating When Triggered By Timer 4 72
Get Client IP on RDS - VB.NET 15 47
SQL LINE CONTINUATION ISSUE 12 33
Email Notifications for SQL 2005 9 28
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question