Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string donustur = dateTimePicker1.Value.ToString("yyyy-MM-dd");

            if (textBox1.Text == "" && textBox2.Text == "" && comboBox1.Text == "" && dateTimePicker1.Text == "")
            {
                MessageBox.Show("Lütfen Gerekli Alanları Doldurun");
            }
            else
            {
                MessageBox.Show(RandevuIslemleri.RandevuGuncelle(userid, donustur, comboBox1.Text, richTextBox1.Text));
                dataGridKayitGoster();
                textBox1.Text  = "";
                textBox2.Text  = "";
                textBox3.Text  = "";
                comboBox2.Text = "";
            }
        }