index > Visual Studio Tools for Office > Visual Studio 2005 Tools for Office Hands-on Labs for Word 2003

Visual Studio 2005 Tools for Office Hands-on Labs for Word 2003


I have been working through this lab but having a problem on Lab 3 - Working with Data in Word Documents. I am at the end of Lab 3, step 4 "Submit", I am supposed to receive a message that a survey was submitted. Instead I receive the following error, "Update requires a valid UpdateCommand when passed DataRow collection with modified rows." I have done this lab twice, everything works step by step, I've compared each line of my code and cannot find why the update does not work. Overall, it is a great lab and I would really like to move on to Lab 4. I'm looking for anyone that has successfully completed this lab, or any suggestions as to what I should be looking for with this error.
Here is the link for this lab:
http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_vsto2005_tr/html/OfficeVSTO2005WordLabs.asp

Diane
diane06

Hi Diane,

Have you tried the completed lab for the updates? If so, does it work for the updates? If yes, try this:

- Select the NorthwindDataset.xsd and open it in design mode.

- Then click on the SurveysTableAdapter.

- In the Properties window, examine the UpdateCommand. Compare it to your project. Are they the same / different?

Lori

Lori B Turner
reply 2

You can use google to search for other answers

 

More Articles

Some questions about ActionsPane
Outlook: Mark a mailitem as complete
Combo box and Cc field... HELP!!!
How to get VSTO running with Visual Studio 2005?
Password and CopyObject method to copy modules in AccessDB
OTP Out Look 2003
Showing a form (while closing the calling form) hides the called ...
Why the letter does not send and kept in a folder Proceeding? (MS...
Creating a VSTO Class Library project -> Reference problems
Is the InfoPath SDK for Visual Studio 2005 Available?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Image Measurement Unit (Very Urgent)
Outlook addin AutoUpdate
Need to get to Excel.Application referen…
User-Defined Functions in Excel using VS…
Excel Interop from VS2005
adding data in a new added sheet in exce…
Can I clear the undo list w/o saving Pre…
VSTO installation
Unable to install VSTMOS 2005
How to uninstall an outlook add-in?
How to combine two wordml documents?
Enable/disable popups in main menu
How to update Excel CommandBar via Event…
Can't Run a Excel Workbook application u…
VSTO CTP June "V3": Excel - Us…

Hot Articles

Word and line command argoment
Updating Outlook Add-Ins Using Applicati…
Outlook Addin to Interact With External …
ListObject
Changing the View in Word 2003
Upgrade a Combobox with queries list in …
How to Read a Date Field from Excel Cell?
Quickly get coordinates of a Range in Wo…
Drag&Drop a usercontrol or an object…
Adding InfoPath Form as Mail Attachment
How to procced with automatic update in …
Open a new local mail and insert attachm…
Call VSTO Addin functions from external …
Outlook: Opening the Insert File dialog
Can I save information inside a Word Doc…

Recommend Articles

Unable to install VSTMOS 2005
Need guidance on which VSTO tools to use…
How to Access/Make Auto Complete List ?
Problem using Chart Export with VB .NET …
Setting image on a CommadnBarButton
Problems with VSTO 2005
Read Application Manifest Without Using …
ServerDocument - Security exception
Performance question
Why I can not open remote Office documen…
getting the path info for an attachment
Rules
Excel VBA Freezepanes
Outlook AddIn Install On User Machine Fa…
Excel ListObject