[問題] asp.net Request

作者: BigLoser (大魯蛇)   2014-03-22 19:06:25
請教一下各位前輩,
我在寫asp.net的後端中,
以下兩種寫法有什麼差異嗎?
(1) string text = TextBox.Text;
(2) string text = Request["TextBox"];
在後端寫過多的 Request 會有什麼缺點嗎?
謝謝 <3

Links booklink

Contact Us: admin [ a t ] ucptt.com