C
C Downey
I am creating a data access layer and I'm interested in the best method of
returning data to my business tier.
My database is SQL Server 2000, and I use stored proc's.
Is it better for me to use a dataReader to get the data from the SQL server,
then load it into an arrayList and return the arrayList to my business layer
or should I use the dataset and just return that object from DAL to my
business layer.
The reason I would either use an arrayList or a dataset is that they are
easily bound to controls. Are there other, better methods?
Any advice would be greatly appreciated.
Thanks
returning data to my business tier.
My database is SQL Server 2000, and I use stored proc's.
Is it better for me to use a dataReader to get the data from the SQL server,
then load it into an arrayList and return the arrayList to my business layer
or should I use the dataset and just return that object from DAL to my
business layer.
The reason I would either use an arrayList or a dataset is that they are
easily bound to controls. Are there other, better methods?
Any advice would be greatly appreciated.
Thanks