blueeyes53
Active member
- Joined
- May 2, 2006
- Messages
- 25
- Programming Experience
- Beginner
Hey there,
I have 3 tables:
tlbFactory(Master)
tblCustomer(detail)
tblSupplier(detail)
2 datarelation =
1) drtblFactorytblCustomer
2) drtblFactorySupplier
2 datagrids (1) for each details table, of which one datagrid should only one be visible at a time.
tblFactory(Master) has 3 txtboxes:
1) for FactoryID
2)for FactoryName
3) for FactoryAddress
with Menu items to navigate between:
First, next, previous, last, etc.
Everytime I used the odbdaCustomer,and/ or any other of the data adapters which I have 3 ,one for each table I get an error message and I can't see any of the tables information in any of the datagrids. Could anyone tell me what is the code that I need to use to be able to see the tables information, and why do you think that is giving me the error message that something related to the contstraint key.
I have 3 tables:
tlbFactory(Master)
tblCustomer(detail)
tblSupplier(detail)
2 datarelation =
1) drtblFactorytblCustomer
2) drtblFactorySupplier
2 datagrids (1) for each details table, of which one datagrid should only one be visible at a time.
tblFactory(Master) has 3 txtboxes:
1) for FactoryID
2)for FactoryName
3) for FactoryAddress
with Menu items to navigate between:
First, next, previous, last, etc.
Everytime I used the odbdaCustomer,and/ or any other of the data adapters which I have 3 ,one for each table I get an error message and I can't see any of the tables information in any of the datagrids. Could anyone tell me what is the code that I need to use to be able to see the tables information, and why do you think that is giving me the error message that something related to the contstraint key.