views:

10

answers:

1

For typical examples I see of SqlDataSource, LinqDataSource...

EVERY example deal with how to make changes to a Customer table where the Gridview/RADgrid directly represents the customer..

But in my case I have stored procedure which show data from multiple tables and make changes to multiple tables so it seems I am not a canidate for uses declarative data sources?

Or can anyone point me to an example ?

+1  A: 

Why not? If you can define single data object which will be used as result from GetCustomer procedure and input to StoreCustomer procedure you can wrap calling these procedures into some class and use ObjectDataSource. Your ASP.NET application doesn't have to know nothing about internal storing of Customer in database. The only requirement is to have flat object = no 1:N or M:N related data.

Ladislav Mrnka
Yes.. but as far as having AUTOMATIC (code free) declarative CRUD page.. you need to have your UI map directly to a table it seems.. yes.. a objectdatasource can be used but then you can't take advantage of the codeless declarative way right?
punkouter