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":
in c# code, property automatically generated "resolves" relationship: row of organisatie has property .adresrow (i assume through detected relation "fk_organisatie_adres")
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
Post a Comment