Esempio n. 1
0
        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            DbOperations db = new DbOperations();

            int    id    = Convert.ToInt32(personidTextBox.Text);
            string fname = fnameTextBox.Text;
            string lname = lnameTextBox.Text;

            db.AddNewPerson(id, fname, lname);
        }