示例#1
0
        private void EF_update_button_Click(object sender, EventArgs e)
        {
            EFFunctions.Update(Vin_box.Text, Make_box.Text, Model_box.Text, Year_box.Text, Displacement_box.Text, Fuel_box.Text, Power_box.Text);
            SQLFunctions.Refresh(dataGridView);

            Clean_boxes();
        }
示例#2
0
        private void EF_delete_button_Click(object sender, EventArgs e)
        {
            EFFunctions.Delete(Delete_box.Text);
            SQLFunctions.Refresh(dataGridView);

            Clean_boxes();
        }
示例#3
0
        private void EF_select_button_Click(object sender, EventArgs e)
        {
            EFFunctions.Select(dataGridView, Select_box.Text);

            Clean_boxes();
        }