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.
Last Post: 05-26-2005, 03:47 AM
By Dan Thibodeaux in forum .NET
Last Post: 05-05-2002, 02:15 PM
Last Post: 12-28-2001, 02:17 PM
By Jason Bock in forum .NET
Last Post: 02-02-2001, 03:49 PM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL