Untitled
unknown
plain_text
2 years ago
480 B
1
Indexable
Never
protected void btnTopla_Click(object sender, EventArgs e) { int sayi1 = Convert.ToInt16(textSayi1.Text); int sayi2 = Convert.ToInt16(textSayi2.Text); int sonuc = sayi1 + sayi2; Label1.Text = sonuc.ToString(); } protected void btnTemizle_Click(object sender, EventArgs e) { textSayi1.Text = ""; textSayi2.Text = ""; Label1.Text = ""; }