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".