Link to home
Start Free TrialLog in
Avatar of sbornstein2
sbornstein2

asked on

Is it better to use an Interface such as IList instead of Datasets to fill Repeaters, controls etc?

I am wondering when I should use an IList for gathering data arraylists etc.  Thanks all
Avatar of mmarinov
mmarinov

Hi sbornstein2,

Actualy this depends on your purposes. If you want to keep the functionality that DataSets give you  (like offline operating with data and then put everything back to the database) then dataset is the better solution
If you wan to write your logic for puting database or you want just to show the data withouth matter the data back to database then it is better dolution to use IList collections

Regards
Martin
Avatar of sbornstein2

ASKER

got ya.  So it depends on when you want to use day DataReader in the SQLHelper to just get a static set VS inserting data into the DB etc?
ASKER CERTIFIED SOLUTION
Avatar of mmarinov
mmarinov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial