ASP.NET--表達式、運算符與分支結構(實戰案例彙總2)

案例6:查詢自動售貨機中商品的價格 步驟: 其代碼如下; { if (RadioButton1.Checked) { Label1.Text = RadioButton1.Text + "的價格是:3萬"; } else if (RadioButton2.Checked) { Label1.Text = RadioButton2.Text + "的價格是:4萬"; } else if (Radio
相關文章
相關標籤/搜索