Small technology (ASP.NET)

xiaoxiao2021-03-05  27

One: Method for using hidden fields in the page: A: Define Hide Field RegisterHidDenfield (Variable Name, Initial Value) B: Set the contents of hidden fields in the run JavaScript: Document.Forms [0]. Variable name .value = '' ; Document.Forms [0] .submit; C: A value of hidden fields Request.form (variable name)

Example: Page_load .... registerhiddenfield ("__ hidefield", "")

IF Not Request.form ("__ hidefield") is nothing the response.write (Request.form ("__ hidefield")) end if ---------------------- -------------------------------------------------- ---------- DIM SETVALUE AS STRING SETVALUE = "