When do Request.Params and Request.Form differ?

前端 未结 3 1225
野性不改
野性不改 2020-12-29 19:56

I recently encountered a problem where a value was null if accessed with Request.Form but fine if retrieved with Request.Params. What are the differences between these meth

3条回答
  •  温柔的废话
    2020-12-29 20:14

    The reason was that the value I was retrieving was from a form element, but the submit was done through a link + JQuery, not through a form button submit.

提交回复
热议问题