private void BtnCompleteOrderOne_Click(object sender, EventArgs e) { // Clear Chef list one lstOrderOne.Items.Clear(); // Delete the order from the queue RestaurantDataSet.OrdersRow orderRow = orders.Where(o => o.orderNumber == orderOne).First(); // Setting isActive to 0 to show the order has been completed OrderTableAdapt.Update("0", orderRow.tableNumber, orderRow.isPaid, orderRow.totalPrice, orderRow.orderNumber, orderRow.tableNumber, orderRow.totalPrice); orderOne = 0; // Enable Load Next Order Button btnLoadOrderOne.Enabled = true; }