So far as I know there's no *easy* way to do this, but you can implement System.ComponentModel.ITypedList to create a view of the data.
Have a look at the following articles for more info:
http://weblogs.asp.net/fbouma/articles/115837.aspx
http://www.codeproject.com/KB/cs/comple ... nding.aspx
If you are feeling masochistic you could create a fairly generic version so that for a given type you can specify named property chains. Something like:
Code:
cm = new ClassModel(User)
cm.AddProperty("DeptName","DeptRef.DeptName")
cm.AddProperty("DeptId","DeptRef.Id")
ta = new TypedArray(cm, userList)
control.DataSource = ta
There might be easier ways in 2.0+, but I'm still using .net 1.1.