示例#1
0
        public static DataTable CalisanCek(string kullaniciID)
        {
            string kod = "Select * From tblKullanicilar Where KullaniciID=@kullaniciID";

            string[] veri      = { kullaniciID };
            string[] parametre = { "@kullaniciID" };
            return(VT.ExecuteReader(kod, veri, parametre));
        }
示例#2
0
        public static DataTable DepartmanCek(string departmanID)
        {
            string kod = "Select * From tblDepartmanlar Where DepartmanID=@departmanID";

            string[] veri      = { departmanID };
            string[] parametre = { "@departmanID" };
            return(VT.ExecuteReader(kod, veri, parametre));
        }
示例#3
0
        public static DataTable KullaniciGiris(string eposta, string sifre)
        {
            string kod = "Select * From tblKullanicilar Where EPosta=@eposta and Sifre=@sifre";

            string[] veri      = { eposta, sifre };
            string[] parametre = { "@eposta", "@sifre" };
            return(VT.ExecuteReader(kod, veri, parametre));
        }
示例#4
0
        public static DataTable CagriCek(string cagriID)
        {
            string kod = @"SELECT tblCagrilar.*, tblKullanicilar.KullaniciAdi, tblCagriSurec.Ad
FROM (tblCagrilar INNER JOIN tblKullanicilar ON tblCagrilar.AcanKisi = tblKullanicilar.KullaniciID) INNER JOIN tblCagriSurec ON tblCagrilar.Durumu = tblCagriSurec.CagriSurecID Where CagriID=@cagriID";

            string[] veri      = { cagriID };
            string[] parametre = { "@cagriID" };
            return(VT.ExecuteReader(kod, veri, parametre));
        }
示例#5
0
 public static DataTable Asama()
 {
     return(VT.ExecuteReader("Select * From tblCagriSurec"));
 }
示例#6
0
 public static DataTable Yetkiler()
 {
     return(VT.ExecuteReader("Select * From tblYetki"));
 }
示例#7
0
        public static DataTable Calisanlar()
        {
            string kod = @"SELECT tblKullanicilar.*, tblDepartmanlar.DepartmanAdi FROM tblKullanicilar INNER JOIN tblDepartmanlar ON tblKullanicilar.DepartmanID = tblDepartmanlar.DepartmanID";

            return(VT.ExecuteReader(kod));
        }
示例#8
0
        public static DataTable KullaniciCek(string kullaniciID)
        {
            string kod = "Select * From tblKullanicilar Where KullaniciID=" + kullaniciID;

            return(VT.ExecuteReader(kod));
        }
示例#9
0
 public static DataTable CagriListeleUye(string calisanID)
 {
     string[] veri      = { calisanID };
     string[] parametre = { "@calisanID" };
     return(VT.ExecuteReader(@"SELECT tblCagrilar.*, tblKullanicilar.KullaniciAdi, tblCagriSurec.Ad From (tblCagrilar INNER JOIN tblKullanicilar ON tblCagrilar.AcanKisi = tblKullanicilar.KullaniciID) INNER JOIN tblCagriSurec ON tblCagrilar.Durumu = tblCagriSurec.CagriSurecID WHERE AcanKisi=@calisanID", veri, parametre));
 }
示例#10
0
        public static DataTable Cagrilar()
        {
            return(VT.ExecuteReader(@"SELECT tblCagrilar.*, tblKullanicilar.KullaniciAdi, tblCagriSurec.Ad
FROM (tblCagrilar INNER JOIN tblKullanicilar ON tblCagrilar.AcanKisi = tblKullanicilar.KullaniciID) INNER JOIN tblCagriSurec ON tblCagrilar.Durumu = tblCagriSurec.CagriSurecID"));
        }
示例#11
0
 public static DataTable Departmanlar()
 {
     return(VT.ExecuteReader("Select * From tblDepartmanlar"));
 }