R
Russell
Hello there,
I am building a web system with a 3 tiered design (DAL / BLL and pres
layer). I have all my objects (ie... USER object for example) and
collection objects that build up collection of my objects.(ie
...userCollection object.) This is all well and good but when I come to
binding a collection of my user objects to a datagrid which requires
sorting paging..etc... it seems that the easiest way is to ignore my
collection of user objects and just return a straight dataset of my
user objects from the database. This is easy but I am not satisfied as
I don't want to move away from my OO design.
So my question is, how do I bind a collectionBase of user objects to a
datagrid and allow sorting, paging etc... without an horrendous amount
of coding.
your suggestions are much appreciated.
thanks
RuSs
I am building a web system with a 3 tiered design (DAL / BLL and pres
layer). I have all my objects (ie... USER object for example) and
collection objects that build up collection of my objects.(ie
...userCollection object.) This is all well and good but when I come to
binding a collection of my user objects to a datagrid which requires
sorting paging..etc... it seems that the easiest way is to ignore my
collection of user objects and just return a straight dataset of my
user objects from the database. This is easy but I am not satisfied as
I don't want to move away from my OO design.
So my question is, how do I bind a collectionBase of user objects to a
datagrid and allow sorting, paging etc... without an horrendous amount
of coding.
your suggestions are much appreciated.
thanks
RuSs