Esempio n. 1
0
 private void FrmAnaSayfa_Load(object sender, EventArgs e)
 {
     gridControl1.DataSource = (from x in db.TBLURUN
                                select new
     {
         x.AD,
         x.STOK
     }).Where(x => x.STOK < 30).ToList();
     gridControl2.DataSource = (from x in db.TBLCARI
                                select new
     {
         x.AD,
         x.SOYAD,
         x.IL
     }).ToList();
     gridControl3.DataSource = db.URUNKATEGORILER().ToList();
 }