[問題] asp.net Request
請教一下各位前輩,
我在寫asp.net的後端中,
以下兩種寫法有什麼差異嗎?
(1) string text = TextBox.Text;
(2) string text = Request["TextBox"];
在後端寫過多的 Request 會有什麼缺點嗎?
謝謝 <3
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 36.234.149.230
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章