Hello guys, i've been stuck for quite a while now with the following:
I have a listview in a webpage that is going to be updated with user interaction. Since the user has like 15 possibilities to choose from, I'm using reflection to determine what the user wants to see and avoid a "select case" nightmare. For this i'm using LINQ and the result Ii get is of type IEnumerable<myclasstype> Now thing is that i have lots "myclasstypes" and i want to be able to bind my control with no matter what type of class i use. Since i must return exactly the IEnumerable type used to query th db for binding. my question is: is it possible to have a generic IEnumerable<ofclasstype> to bind my controls.