[Mono-devel-list] DataSet and DataRelation problems ...

xiii29 xiii29 at free.fr
Fri Mar 11 16:22:55 EST 2005

Hello !
I've a strange problem with DataRelation ... When I set some relations 
on my DataSet, I'm not able to save info when I do <MyDataSet>.WriteXML ...

The strange things is when I execute the binary on Microsoft .Net 
everything goes fine ...

Here is a sample of code when I set the DataRelation :

DataColumn dclFather = this.TableFather.Columns["ID"]; 
DataColumn dclSon = this.TableSon.Columns["FK_ID"];

this.Data.Relations.Add(dclFather, dclSon);

For info, I'm using the 1.0.2 version ...

Thanks !

More information about the Mono-devel-list mailing list