I don't think it would be the DiffGram that's the problem, but I don't know for sure. I don't do it that way, but then again I don't use DataAdapter.Update() either.
So, next it might be your DataAdapter.Update(). How have you set that up? Does it work if you don't use a DiffGram? Are you using a CommandBuilder? Is this SQL Server or some other database?
~~Bonnie
>Bonnie:
>
>It's very simple. I have a dataset made of two tables. I update dataset via a Diffgram and Update doesn't work at all. This is the code:
>
>StringReader sr = new StringReader(diffGram);
>DS.ReadXml(sr, XmlReadMode.DiffGram);
>MyDataAdapter.Update(DS);
>
>Any idea, please?