Is there any method to select a column of the current row of a BindingSource whose DataSource is an anonymous class?
var userResults = from u in dataContext.Users
join c in dataContext.Computers on u.ID equals c.UserID
where doSearch
&& u.Name.Contains(userNameTextBox.Text)
&& u.UserName.Contains(userUsernameTextBox.Text)
select new { u.Name, u.UserName, u.Branch, c.Installations, u.ID };
userBindingSource.DataSource = userResults;
I want to get the current value of u.ID
.