We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

List as DataSource

Thread ID:





94811 Jun 2,2010 08:49 PM UTC Jun 4,2010 02:34 PM UTC WinForms 1
Tags: GridControl
Lena Prys
Asked On June 2, 2010 08:49 PM UTC

Hello, I'm trying to modify example from http://help.syncfusion.com/ug_64/gridwin/ForeignKeyColumnsShowingOneValueButSavingAnother.html so ForeignKeyTable() method returns List and looks something like this

public class MyClass
public string Name {get;set;}
public int CustID {get;set;}

private List ForeignKeyTable()
List l = new List();
MyClass c =new MyClass();
c.Name = "Name1";
c.CustID = 1;
return l;

but it doesn't work: ValueMember shown - not DisplayMember. Do i miss some parameter or something? Please, help me fix the code.

Arulraj A [Syncfusion]
Replied On June 4, 2010 02:34 PM UTC

Hi Lena,

Thanks for your interest in Syncfusion Products.

Please follow up with the below forum thread, in which similar query has been discussed.

Let me know if you have any further concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon