Beispiel #1
0
 public static void AtikListele()
 {
     using (var context = new DemirbasTakipEntitiess())
     {
         context.sp_AtikListeleme();
         context.SaveChanges();
     }
 }
Beispiel #2
0
        private void FormAtiklar_Load(object sender, EventArgs e)
        {
            this.Location = new Point(50, 100);
            DemirbasTakipEntitiess db = new DemirbasTakipEntitiess();
            var data = db.sp_AtikListeleme();

            dgwAtikListele.DataSource = data.ToList();
            AtikRenklendir();
        }