Hello all,
I have a registration page using MultiView with 2 Views.. View1 goes to the table called dbo.Emp and View2 to multiple tables.
However, here is the complications.I successfully passed View into my DB, but in View2 the Admin/Employee enters Certifications. But there's a between Dbo.Emp and Dbo.Cert which is dbo.Emp_Cert_Bridge Dbo.emp (Emp_ID PK, F_name........) dbo.Cert (CertName,CertLogo,CertID PK) dbo.Emp_Cert_Bridge (EmpID FK, CertID FK) How'd I do this?
The Values that I enter from View2(that has 2 textbox) must first enter CertID in Dbo.Cert and then gets updated in dbo.Emp_Cert_Bridge (EmpID FK, CertID FK) with Emp_Id of View1 and CertID from dbo.Cert.
I will make it more simpler:
dbo.Emp
EmpID PK | F_Name| ....
dbo.Cert
CertID (PK)| CertName| CertLogo
dbo.Emp_Cert_Bridge
EmpID (FK) | CertID(FK) | Modified date
.aspx page:
Cert Name: <Textbox>
Cert Logo: <Fileupload>
So when I hit enter button, its getting updated in dbo.Cert table with CertID (as auto increment),
but the FK is not getting updated in dbo.Emp_Cert_Bridge. How'd I do that?
Also, Emp_ID value is lost when I click 'Next' button I believe. How do I save throughout the Registration?
Please help.