Beispiel #1
0
 public void TumDemirbaslar()//TUM DEMİRBASLAR ÇEKİLİYOR.
 {
     dbo    = new DB_Operation();
     data   = new List <string[]>();
     data   = dbo.Select(sqlConnectionString.demirbaslar);
     dataID = new List <string[]>();
     dataID = dbo.Select(sqlConnectionString.demirbaslar3);
     FillGrid(data);
 }
Beispiel #2
0
        //SQL CONNECTİON
        public void baglan(string kullaniciAdi, string sifre)
        {
            DB_Operation  dbo           = new DB_Operation();
            List <String> gelenBilgiler = new List <string>()
            {
                kullaniciAdi, sifre
            };

            kullanici = dbo.Select(sqlConnectionString.kullaniciGirisi, sqlConnectionString.kullaniciGirisiParametreler, gelenBilgiler);
            if (kullanici.Count > 0)
            {
                MainScreen ms = new MainScreen(kullanici);
                ms.Show();
                this.Hide();
            }

            else
            {
                pnl_uyari.Visible = true;
            }
        }