odbaEmployees.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaEmployees.SelectCommand = odbsEmployees
odbaEmployees.SelectCommand.Connection = odbAISConnection
odbaCerts.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaCerts.SelectCommand = odbsCerts
odbaCerts.SelectCommand.Connection = odbAISConnection
odbaAddresses.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaAddresses.SelectCommand = odbsAddresses
odbaAddresses.SelectCommand.Connection = odbAISConnection
odbaPhone.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaPhone.SelectCommand = odbsPhone
odbaPhone.SelectCommand.Connection = odbAISConnection
odbaEC.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaEC.SelectCommand = odbsEC
odbaEC.SelectCommand.Connection = odbAISConnection
odbaMedctrl.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaMedctrl.SelectCommand = odbsEC
odbaMedctrl.SelectCommand.Connection = odbAISConnection
odbaCertList.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaCertList.SelectCommand = odbsCertList
odbaCertList.SelectCommand.Connection = odbAISConnection
odbaPhoneTypes.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaPhoneTypes.SelectCommand = odbsPhoneTypes
odbaPhoneTypes.SelectCommand.Connection = odbAISConnection
odbaStatusList.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaStatusList.SelectCommand = odbsStatusList
odbaStatusList.SelectCommand.Connection = odbAISConnection
odbaTrain.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaTrain.SelectCommand = odbsTrain
odbaTrain.SelectCommand.Connection = odbAISConnection
odbaClass.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaClass.SelectCommand = odbsClass
odbaClass.SelectCommand.Connection = odbAISConnection
odbaHospitals.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaHospitals.SelectCommand = odbsHospitals
odbaHospitals.SelectCommand.Connection = odbAISConnection
odbaZips.MissingSchemaAction = MissingSchemaAction.AddWithKey
odbaZips.SelectCommand = odbsZips
odbaZips.SelectCommand.Connection = odbAISConnection
dsEmployees.ReadXmlSchema(Application.StartupPath & "\Data\EmployeeData.xsd")
MessageBox.Show("File Missing Try again", "Missing", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
odbaEmployees.Fill(dsEmployees, "Employees")
odbaCerts.Fill(dsEmployees, "Certs")
odbaAddresses.Fill(dsEmployees, "Addresses")
odbaPhone.Fill(dsEmployees, "PhoneNumbers")
odbaEC.Fill(dsEmployees, "EmergencyContacts")
odbaMedctrl.Fill(dsEmployees, "Medctrl")
odbaCertList.Fill(dsEmployees, "CertificationList")
odbaPhoneTypes.Fill(dsEmployees, "PhoneTypeList")
odbaStatusList.Fill(dsEmployees, "StatusList")
odbaTrain.Fill(dsEmployees, "TrainingTypeList")
odbaClass.Fill(dsEmployees, "ClassList")
odbaHospitals.Fill(dsEmployees, "HospitalList")
odbaZips.Fill(dsEmployees, "ZipCodes")
MessageBox.Show(ex.ToString, "Sorry", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
Name =
i = 0
System.Windows.Forms.MessageBox.Show(eEndEdit.Message)
MessageBox.Show(ex.ToString)
LoadDataSets()
LoadCombo()