473,387 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

A Question about Diffgram Updates

bbc
Hello ;

I would be grateful if someone could answer my question about diffgram
updates

I am using diffgrams to update database records. As you will know,
the <before> tag section references the record to be updated. I
thought it was sufficient that the <before> section only include the
Primary Key(PK) fields of the target record, assuming the PK was
specified in the XSD schema. However in my experience, the <before>
section must include all the fields of the target record (except the
timestamp) for the Update to work correctly. Therefore I am wondering
if I'm doing something wrong. My question is: Is there a way to
reference only the PK in the <before> section, or must all fields of
the target record be included.

Thanks in advance
Nov 12 '05 #1
0 1329

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Raymond Leijtens | last post by:
Does any one know how to validate a DiffGram against a xsd schema? thanks in advance
0
by: Mav | last post by:
Hello, I'm trying to fill a dataset with the data of a diffgram xml-file. I expect a dataset with datasetname "ComputerSystem" filled with 1 table (tables.count = 1). The only thing i've got...
1
by: John Lee | last post by:
Hi, When I use DataSet.WriteXml(filename, XmlWriteMode.DiffGram), the xml file contains current values (at <InvDataSet> node) and original value (at <diffgr:before> node) - this means the...
0
by: JJ | last post by:
Hi, I have a DataSet that has no records in it from Database. I use this for just collecting records that I have been working on. I have a new worker dataset that goes out to database and gets a...
0
by: Guoqi Zheng | last post by:
Dear sir, I am very new to asp.net. I often meet a problem of name 'xxx' is not declared. can some one tell me what is the problem? For example, my following code gives me an error of "Name...
0
by: jman | last post by:
I've seen this question asked a lot, but never answered. Does any one know how to validate a DiffGram against a xsd schema? Is there anywhere I can find the schema for DiffGram? I keep finging...
2
by: Paul Goldmann | last post by:
Hi, is there a way how to get a DiffGram from a dataset and save it to a string? Thanks for any advice Paul
1
by: GoogleGroups | last post by:
It seems like this should be easy, but it has proven to be quite painful. I have an existing dataset, which I used the GetChanges and WriteXML functions upon to write out a DiffGram to a local...
0
by: Howard Swope | last post by:
I have an xml file that my application downloads on a periodic basis. I also have a dataset based on this that is used in the application. At present, the application takes the new downloaded xml,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.