How to get reusable data access classes

G

Guest

I'm new to ASP.NET 2.0 and I'm trying to get my head round the best way to
approach data access for a website. According to the various articles I have
read so far, it is best to separate out data access code into classes which
reside in the App_code directory. Preferably I would want generic data access
classes which can be used on multiple websites as we may have different
front-end pages for different clients but accessing the same data structures.
I presume I need to take the data classes and build them into a separate
project? This is where I'm not too sure. If the classes are in a separate
project, can I still use the ObjectDataSource control to access the data?

If someone could clarify this whole area, I would be eternally grateful.

Regards,

Bernie Beattie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top