private void lookUpAuthor_CustomDisplayText(object sender, CustomDisplayTextEventArgs e) { if (e.Value == null) { return; } LibraryDataSet.AuthorRow authorRow = lds.Author.FindById((int)e.Value); if (authorRow == null) { return; } e.DisplayText = authorRow.FirstName + " " + authorRow.LastName; }
private void lookUpAuthor_CustomDisplayText(object sender, DevExpress.XtraEditors.Controls.CustomDisplayTextEventArgs e) { if (e.Value == null) { return; } LibraryDataSet.AuthorRow authorRow = libraryDS.Author.FindById((int)e.Value); if (authorRow == null) { return; } e.DisplayText = authorRow.FirstName + " " + authorRow.LastName; }