Example #1
0
        //Değişken Son

        //FORM
        private void kayıt_ekle_Load(object sender, EventArgs e)
        {
            sql_sorgu Abone_Listele = new sql_sorgu();
            DataTable Data_T        = new DataTable();

            Data_T = Abone_Listele.Abone_Listeleme(Con_String);
            dataGridView1.DataSource = Data_T;

            KoseliForm();
            comboBox1.SelectedItem  = "30";
            comboBox2.SelectedIndex = 1;
            comboBox3.SelectedIndex = 0;
        }
Example #2
0
 private void Saglik_Bilgisi_Sorgulama()
 {
     try
     {
         sql_sorgu Saglik_Sorgu = new sql_sorgu();
         DataTable DataT        = new DataTable();
         DataT = Saglik_Sorgu.Saglik_Listeleme(conString);
         dataGridView1.DataSource = DataT;
     }
     catch (Exception ex)
     {
         label5.ForeColor = Color.Red;
         label5.Text      = "Hata";
     }
 }
Example #3
0
 private void Kayıt_listele()
 {
     try
     {
         sql_sorgu Abone_Listele = new sql_sorgu();
         DataTable Data_T        = new DataTable();
         Data_T = Abone_Listele.Abone_Listeleme(Con_String);
         dataGridView1.DataSource = Data_T;
     }
     catch (Exception ex)
     {
         label11.ForeColor = Color.Red;
         label11.Text      = "Hata - 5";
     }
 }
Example #4
0
        private void Saglik_Bilgisi_Ekle()
        {
            progressBar1.Value = 0;
            NotNull();
            if (Durum == "ok")
            {
                try
                {
                    sql_sorgu Saglik_s = new sql_sorgu();
                    Saglik_s.Saglik_Kayit(conString, tc_no, hes_kodu, saglik_durumu, takviye_durumu);

                    İslemNe = "kayit";
                    timer1.Start();
                }
                catch (Exception)
                {
                    label5.ForeColor = Color.Red;
                    label5.Text      = "Yanlış Bilgi";
                }
            }
        }