private void btnCalc_Click(object sender, EventArgs e) { lbResult.Text = "0"; int result = ArztDB.GetNumKonsultation(tbDiagnose.Text); lbResult.Text = result.ToString(); }
private void btnCalc_Click(object sender, EventArgs e) { // Methode GetNumKonsultation() aufrufen string diagnose = tbDiagnose.Text; // Resultat an lbResult.Text zuweisen int result = ArztDB.GetNumKonsultation(diagnose); lbResult.Text = result.ToString(); }