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
     };
 }
Example #2
0
 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();
 }
Example #4
0
 private void BindData()
 {
     gridControl1.DataSource = _personelServis.List();
 }