Architecture questions?

  • Thread starter Thread starter ayos
  • Start date Start date
A

ayos

Hi

I want to show a grid filled with fields from more than one table.
I used ObjectDatasourceS (One ObjectDataSource for each table).

I guess this is the way of doing things in the new asp.net 2.0?

But is that the way of doing things in Real life web applications?

Kind regards,

Ayman
 
The GridView works really well with the ObjectDataSource, the SqlDataSource
and others.

In your ODS, you could read both tables and then manupulate the data into a
single table or better yet, read use a View at the SQL level. You can also
read data from a View with a SqlDataSource.
 
I don't think so. The entire XXXDataSource as far as i'm concerned is great
for building my dad's webpage, but flies in the face of domain modelling and
n-tier development. ObjectDataSource isn't so bad, but SqlDataSource and the
other providers need to be taken out back and shot.

Karl
 

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

Back
Top