public void ShowData() { var x = Context.GetApplicationCodes(); ApplicationRepositoryItemLookUpEdit.DataSource = x.ToList(); ApplicationRepositoryItemLookUpEdit.DisplayMember = "ApplicationCode"; ApplicationRepositoryItemLookUpEdit.Columns.Add(new LookUpColumnInfo("ApplicationCode")); gridControl.DataSource = new LinqServerModeSource() { ElementType = typeof(QuoteEntry), KeyExpression = "RowID", QueryableSource = Context.QuoteLog }; }