private void BindData() { gridControl1.DataSource = from item in personelServis.List() select new { item.Id, item.PersonelAd, item.PersonelSoyad, item.PersonelFotorafBaglantisi, item.PersonelMail, item.PersonelTelefon, item.PersonelMaas, Departmani = item.Departman.DepartmanAd }; departmanLookUpEdit.Properties.DataSource = from item in departmanServis.List() select new { item.Id, item.DepartmanAd }; }
private void ArizaKaydiForm_Load(object sender, EventArgs e) { urunLook.Properties.DataSource = from item in urunServis.List() select new { item.Id, item.UrunAd }; musteriLook.Properties.DataSource = from item in musteriServis.List() select new { item.Id, AdSoyad = item.MusteriAd + " " + item.MusteriSoyad }; personelLook.Properties.DataSource = from item in personelServis.List() select new { item.Id, AdSoyad = item.PersonelAd + " " + item.PersonelSoyad }; }
private void FaturaForm_Load(object sender, EventArgs e) { musteriLook.Properties.DataSource = from item in musteriServis.List() select new { item.Id, AdSoyad = item.MusteriAd + " " + item.MusteriSoyad }; personelLook.Properties.DataSource = from item in personelServis.List() select new { item.Id, AdSoyad = item.PersonelAd + " " + item.PersonelSoyad }; urunLook.Properties.DataSource = from item in urunServis.List() select new { item.Id, item.UrunAd }; BindDataFaturaBilgi(); }
private void BindData() { gridControl1.DataSource = _personelServis.List(); }