M
misiek
Hi all.
I have two tables in my database: TableA and TableB. Records in TableB
contain foreing key to records from TableA (it is a relation one to
many: one row from TableA could have many rows from TableB connected to
it).
In DataSet Designer I created two DataTables: TableA and TableB. They
are also connected with relation MyRelation.
In my web page I want to have two GridViews:
- GridViewA - in this one records from TableA should be displayed.
- GridViewB - in this one records from TableB should be displayed (but
only these ones, which have TableA_id foreign key equal to primary key
from row selected in GridViewA).
Futhermore I want to do sth like this:
1. I select some row in GridViewA.
2. Data in GridViewB should by dynamically changed without executing
additional query against my database.
Does anybody know how it can be done?
Thanks in advance.
I have two tables in my database: TableA and TableB. Records in TableB
contain foreing key to records from TableA (it is a relation one to
many: one row from TableA could have many rows from TableB connected to
it).
In DataSet Designer I created two DataTables: TableA and TableB. They
are also connected with relation MyRelation.
In my web page I want to have two GridViews:
- GridViewA - in this one records from TableA should be displayed.
- GridViewB - in this one records from TableB should be displayed (but
only these ones, which have TableA_id foreign key equal to primary key
from row selected in GridViewA).
Futhermore I want to do sth like this:
1. I select some row in GridViewA.
2. Data in GridViewB should by dynamically changed without executing
additional query against my database.
Does anybody know how it can be done?
Thanks in advance.