Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to get reusable data access classes

Thread Tools

How to get reusable data access classes

Posts: n/a
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.


Bernie Beattie
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to make a Data Object Alias that's reusable Hoo87 VHDL 0 01-27-2010 03:27 PM
reusable function to get radio button's selected value? Javascript 5 04-22-2008 07:34 PM
Suggestion requested: Tutorial on Ajax reusable Java GUI Classes Java 0 05-13-2006 04:25 AM
Reusable GUI Classes to generate real-time custom Ajax building blocks. Javascript 0 03-16-2006 06:25 PM