G
Guest
Hi,
i am relatively new to dotnet and am working on a project that requires me
to bind to objects instead of datasets. The reason for this is that we are
using an OR mapper to generate these custom data objects.
I know that web controls can bind to any type of object as long as it
implements the IEnumerable interface. I have created a custom collection
class that inherits from HashTable. I can then bind collections to my web
controls.
My question is: Are certain collection classes better than others for this
type of thing? Should I continue using HashTable or would I be better off in
the long run manually building DataSet objects to work with?
Thanks in advance.
i am relatively new to dotnet and am working on a project that requires me
to bind to objects instead of datasets. The reason for this is that we are
using an OR mapper to generate these custom data objects.
I know that web controls can bind to any type of object as long as it
implements the IEnumerable interface. I have created a custom collection
class that inherits from HashTable. I can then bind collections to my web
controls.
My question is: Are certain collection classes better than others for this
type of thing? Should I continue using HashTable or would I be better off in
the long run manually building DataSet objects to work with?
Thanks in advance.