Hi,
I've got two tables in my entity Model:
Author: AuthorID, FirstName, LastName and
Article: ArticleID, Title, Body, AuthorID.
I've got also DataGridView with 'Context.Articles' as it's datasource. I've binded Textbox text property with "Title" column of Article table. That work fine.
But what sholud I do to show FirstName value of table Author in my second textBox when I'm moving throught DataGridView ? When I bind this TextBox with Author table there's always the same value (from first row of Author table). Should I use some entity relations or something ?
I'de gratefull for few sample code lines :)
regards,
Databindings with Entity Framework
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

CrishRank #1,487 · 1.1K reputationPosted May 14, 2010, 4:25 AM EDT
you need to get data with data relation of Author and Article.
thanks
doomed morale8 reputationPosted May 14, 2010, 5:53 AM EDT
I can see relations in my Entity diagram but I don't know how to use it ..