c# - Linq-To-SQL Association not working -


need dealing linq-to-sql association. trying use join function like:

asp:label id="label1" runat="server" text='<%#eval("tambour_area_language.areaname") %>' /> 
  1. i have association association between 2 tables`

  2. the code generating

    [global::system.data.linq.mapping.associationattribute(name="tambour_area_tambour_area_language", storage="_tambour_area_languages", thiskey="areaid", otherkey="areaid")] public entityset<tambour_area_language> tambour_area_languages {         {         return this._tambour_area_languages;     }     set     {         this._tambour_area_languages.assign(value);     } } 
  3. all tables add primary key

but still, not working. same error time databinding: tambour_area not contain property name tambour_area_language.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -