看板 C_Sharp 關於我們 聯絡資訊
想請問一下各位大大 若是用VS2003 Windows專案想要選擇 是否要發布訊息可以用以下方法寫 DialogResult result; result = MessageBox.Show("確定要重建資料庫!?", "確認", MessageBoxButtons.YesNo, MessageBoxIcon.Question,MessageBoxDefaultButton.Button1); if(result == DialogResult.Yes) { } 那我想請問一下在ASP上,也要有類似的視窗跳出,要怎麼辦到 請各位教學一下吧,謝謝。 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.126.206
lostid:javascript confirm 06/24 00:09
teyou:樓上對了 ... return confirm('確定...'); 06/24 00:20
pat0307:了解了,謝謝大大 06/25 02:09