public void Veriler()
 {
     ndata.SaveChanges();
     dataGridView1.DataSource = mRepo.SelecAllYön();
 }
예제 #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     ndata.SaveChanges();
     dataGridView1.DataSource = mRepo.SelecAlloff();
 }
예제 #3
0
 public void Veriler()
 {
     ndata.SaveChanges();
     dataGridView1.DataSource = ndata.Masraflar.ToList();
 }
예제 #4
0
 public void Delete(int itemid)
 {
     ndata.Masraflar.Remove(ndata.Masraflar.Find(itemid));
     ndata.SaveChanges();
 }