B
Blake Weaver
Ok folks, I've done plenty of VB6 but I'm new to .Net so I'm coming to you
guys:
I have 3 tables that are related... TableA and TableB have a 1:1
relationship because they are essentially one partitioned table due to
number of columns. I also have TableC which will have one record for only
certain records in TableA/B. (IE a record in TableA may have a one related
record in TableC or none).
Now, I've built a DataAdapter for each table and a DataSet with the
appropriate relations set. I'm binding the fields in TableA to a Datagrid
just so the user has a list to pick through and I'm binding the rest of the
fields from TableA,B & C to textboxes. When I change records in the
datagrid, the textboxes that are bound to TableA reflect the row change
(show the appropriate data for that record). However, the textboxes bound to
TableB/C don't automatically change as they would have in a ADO recordset.
What is the appropriate .Net way of doing this? I'm assuming there is a
better way than manually filtering/finding/Selecting the record in TableB &
C.
Thanks,
Blake
guys:
I have 3 tables that are related... TableA and TableB have a 1:1
relationship because they are essentially one partitioned table due to
number of columns. I also have TableC which will have one record for only
certain records in TableA/B. (IE a record in TableA may have a one related
record in TableC or none).
Now, I've built a DataAdapter for each table and a DataSet with the
appropriate relations set. I'm binding the fields in TableA to a Datagrid
just so the user has a list to pick through and I'm binding the rest of the
fields from TableA,B & C to textboxes. When I change records in the
datagrid, the textboxes that are bound to TableA reflect the row change
(show the appropriate data for that record). However, the textboxes bound to
TableB/C don't automatically change as they would have in a ADO recordset.
What is the appropriate .Net way of doing this? I'm assuming there is a
better way than manually filtering/finding/Selecting the record in TableB &
C.
Thanks,
Blake