|It's looking for a function that takes an Object. You're giving it a function that takes a Clients. (I'm not sure why you're taking a class to represent a single client, and making its name plural, but it's not my code, so I don't care.) The solution is to either take an Object, or don't take anything and let VB decide what it should take. In either case, you should convert it to the desired class before using it.|
ObjectListView1.GetColumn(1).AspectGetter = Function(x) DirectCast(x, Clients).FirstName
EDIT: CType -> DirectCast. Because some people are picky about those things.
How To Ask Questions The Smart Way
message edited by Razor2.3