[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQLDataAdapter Update Command Not Create

Posted on 2011-03-05
1
Medium Priority
?
694 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 48

Accepted Solution

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

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

872 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