E
eselk2003
I'm just starting out with VWD 2008, and new to ASP .NET.
I have a master page which displays one record for an Access database
based on an ID number in the query string. Then I have a content page
that displays some other records which are also filtered by that ID.
I'd like to do just one query in the master page, which returns all
fields for that main record, then just use those fields in the details
page instead of doing a seperate query.
On the master page I currently have a DetailsView, hooked to an
ObjectDataSource, hooked to a TableAdapter for the Access table that
has the main record I'm displaying details for on the master page.
The query in the TableAdapter returns all rows "select *" even though
I only show some in the DetailsView... so can I (and how) access that
data in one or more content pages? As of now I don't even know how to
access the data in the master page, because I don't see any properties/
methods of ObjectDataSource that return anything with "Rows" and
"Fields".
I have a master page which displays one record for an Access database
based on an ID number in the query string. Then I have a content page
that displays some other records which are also filtered by that ID.
I'd like to do just one query in the master page, which returns all
fields for that main record, then just use those fields in the details
page instead of doing a seperate query.
On the master page I currently have a DetailsView, hooked to an
ObjectDataSource, hooked to a TableAdapter for the Access table that
has the main record I'm displaying details for on the master page.
The query in the TableAdapter returns all rows "select *" even though
I only show some in the DetailsView... so can I (and how) access that
data in one or more content pages? As of now I don't even know how to
access the data in the master page, because I don't see any properties/
methods of ObjectDataSource that return anything with "Rows" and
"Fields".