Example #1
0
        void metot()
        {
            var degerler = from x in db.TBLDEPARTMAN
                           select new
            {
                x.ID,
                x.AD,
                x.ACIKLAMA,
            };

            gridControl1.DataSource = degerler.ToList();
            labelControl12.Text     = db.TBLDEPARTMAN.Count().ToString();
            labelControl14.Text     = db.TBLPERSONEL.Count().ToString();
            labelControl16.Text     = db.maksdepartman().FirstOrDefault();
            labelControl18.Text     = db.mindepartman().FirstOrDefault();
        }