PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 1.00 average.

Binding an entity to an in place LookUpEdit item

 
 
Bora
Guest
Posts: n/a
 
      4th Jan 2007
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create trivial CRUD app using data binding and Entity Framework? Dan Mayolo Microsoft ADO .NET 0 16th Aug 2009 06:59 PM
How to relate a SQL based entity with an Object based entity in Entity Framework markla Microsoft ASP .NET 1 6th Oct 2008 10:42 AM
Accessing second item in a entity query? Ralf Kaiser Microsoft ADO .NET 0 30th Sep 2008 02:00 PM
100K item data binding: Is asynchronous data binding possible? R Reyes Microsoft C# .NET 14 5th Feb 2008 09:47 PM
binding custom business entity components =?Utf-8?B?YW5pZWQ1Mg==?= Microsoft Dot NET Framework Forms 0 2nd Jan 2004 08:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:53 AM.