private void SaveJuridicalFaceFormButton_Click(object sender, EventArgs e)
 {
     string query = "insert into JuridicalFace (JuridicalFaceNameOrganization, JuridicalFaceFullNameOrganization, JuridicalFaceFullName, JuridicalFacePhoneNumber, JuridicalFaceCargoCarrier) values (\'" + inputNameOrganizationJuriFace.Text + "\', \'" + inputFullNameOrganizationJuriFace.Text + "\', \'" + inputFullNameJuriFace.Text + "\', \'" + inputPhoneNumberJuriFace.Text + "\', \'" + inputCargoCarrierJuriFace.Text + "\')";
     Database.executeQuery(query);
     JuridicalFaceTableForm juriFaceTable = new JuridicalFaceTableForm();
     juriFaceTable.Show();
     this.Close();
 }
Beispiel #2
0
        private void SaveJuridicalFaceFormButton_Click(object sender, EventArgs e)
        {
            string query = "insert into JuridicalFace (JuridicalFaceNameOrganization, JuridicalFaceFullNameOrganization, JuridicalFaceFullName, JuridicalFacePhoneNumber, JuridicalFaceCargoCarrier) values (\'" + inputNameOrganizationJuriFace.Text + "\', \'" + inputFullNameOrganizationJuriFace.Text + "\', \'" + inputFullNameJuriFace.Text + "\', \'" + inputPhoneNumberJuriFace.Text + "\', \'" + inputCargoCarrierJuriFace.Text + "\')";

            Database.executeQuery(query);
            JuridicalFaceTableForm juriFaceTable = new JuridicalFaceTableForm();

            juriFaceTable.Show();
            this.Close();
        }