Hi,
I've a problem with binding an entity to an in place LookUpEdit item.
Let me explain my problem with an example... (i'm using VS .Net 2005
and DeveloperExpress Inc.Net.2005)
Say, i have a database table named Employee that contains data about
the employees and another table named Spoken_Languages that contains
basic languages... Employee table has a column named Lang_Id that is
related with the Spoken_Languages table... I've created entities of
these tables by using LLBL Gen...
In my application, i've a XtraGrid (say it's gridControl1) with data
source the entity of Employee table... at runtime i can list the
Employee table in gridControl1. But, i want to show Language Name
instead of Lang_Id. So, i use an in place LookUpEdit... The data source
of the lookup edit is the entity of Spoken_Languages table... At
runtime, the records of Employee table are listed in gridControl1, but
the column that contains the language data is empty... I can't see the
language data of a row unless i click the corresponding cell...
Additionally, if i use dataset for both (gridControl and look up edit)
there is no problem... but if i use these entities that problem
occurs...
thanks,
Bora
|