Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / October 2007

Tip: Looking for answers? Try searching our database.

Using a datasource

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TonyJ - 19 Oct 2007 11:58 GMT
Hello!

I'm looking at VS2005 which is a bit different to VS2003.
If I for example click on the meny line Data and there choose Show Data
Source or
Add New Data Source these does not exist in VS2003.

Now to my question if I click on Add New Data Source there are three
alternatives here
Database, Web Service and Object.

I just can't understand the choice Object when Add New Data Source is
selected.

For me a datasource is always a database!

//Tony
Alberto Poblacion - 19 Oct 2007 12:05 GMT
> I just can't understand the choice Object when Add New Data Source is
> selected.
>
> For me a datasource is always a database!

  This is most useful when you are doing n-tier programming. You write a
set of classes that encapsulate your "business rules". These classes access
the database, perform whatever manipulations you need on the data, and are
able to deliver the data back to the next layer of code (typically the "user
interface"). If you wish to use a datasource to perform databinding in this
"user interface" layer, you instruct the DataSource to get its data from the
set of objects that you previously wrote for the next tier. That's why you
have this choice in "Add New Data Source".

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.