Untitled
unknown
plain_text
3 years ago
480 B
4
Indexable
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 = ""; }
Editor is loading...