E
Eric
I currently have a datagrid that looks like the following.
Sales Table
Date Dogs Cats Fish
5/1/2004 4 4 2
5/2/2004 3 3 1
5/4/2004 2 4 1
5/5/2004 1 2 23
I want to be able to click on each number and have a seperate datagrid
pull up the individual sales records. For example, on 5/1/2004, I want
to be able to click on the 4 cats hand have the second datagrid on the
page pull the database details for those four records as shown below.
5/1/2004 - Cats
Sale QTY Customer
Cat 1 4456
Cat 2 2345
Cat 1 1994
I know how to build an handler to select rows in a datagrid but I want
to select individual items within the rows since my sales for dogs,
cats and fish are all in the same row.
Currently, as a workaround I'm using a template colum to fill the
cells as hyperlinks that just refresh the page while passing in the
variables via querystring but it's quite cumbersome to maintain page
state with this solution.
Any ideas on a clean way to do this?
Thanks
Eric
Sales Table
Date Dogs Cats Fish
5/1/2004 4 4 2
5/2/2004 3 3 1
5/4/2004 2 4 1
5/5/2004 1 2 23
I want to be able to click on each number and have a seperate datagrid
pull up the individual sales records. For example, on 5/1/2004, I want
to be able to click on the 4 cats hand have the second datagrid on the
page pull the database details for those four records as shown below.
5/1/2004 - Cats
Sale QTY Customer
Cat 1 4456
Cat 2 2345
Cat 1 1994
I know how to build an handler to select rows in a datagrid but I want
to select individual items within the rows since my sales for dogs,
cats and fish are all in the same row.
Currently, as a workaround I'm using a template colum to fill the
cells as hyperlinks that just refresh the page while passing in the
variables via querystring but it's quite cumbersome to maintain page
state with this solution.
Any ideas on a clean way to do this?
Thanks
Eric