c# - A TableRow referenced trought a DataRelation always returns null -


using dataset designer in visual studio 2010, i've added tables mysql db. vs10 automatically picks , adds relations between tables, e.g., relation "fk_organisatie_adres" between tables "organisatie" , "adres": vs dataset designer 2 table , relationship

in c# code, property automatically generated "resolves" relationship: row of organisatie has property .adresrow (i assume through detected relation "fk_organisatie_adres") vs auto generated property related adresrow

problem: when running code, "theaddress" (hence .adresrow property) null!

also "theorganisationrow.getchildrows("fk_organisatie_adres")" return null. , "organisationdt.childrelations" empty.

what doing wrong? need before can use automatically generate .adresrow property?


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -