天天看點

.Net Request.Form和Request.QueryString的差別

Request.Form 擷取以POST方式送出的資料(接收Form送出來的資料)

request.querystring

這個是request對象的一個屬性負責讀取以get方式傳遞的參數

例子:

a.asp?id=1

那麼在a.asp裡,request.querystring("id")=1