Beispiel #1
0
        private void FrmDepartman_Load(object sender, EventArgs e)
        {
            var degerler = from d in db.TBLDEPARTMAN
                           select new
            {
                d.ID,
                d.AD
                //d.ACIKLAMA
            };

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