Hidden Fields
-
How to Transfer Value from One Page to another Page Using Hidden Fields. I am using ASP.NET 1.1 Mkanchha
in terms of vb.net Response.Redirect("MyForm.asp?hiddenvalue=" & HiddenField1.value)
Sherin Iranimose
-
How to Transfer Value from One Page to another Page Using Hidden Fields. I am using ASP.NET 1.1 Mkanchha
1->If you are using Server.Transfer method then you can get it from Request.Form object by specifying the Hidden field name. 2-> You can user session variable to pass the value, set it before redirecting. 3-> Or you can pass it in query string.
Regards, Prakash Kalakoti
-
How to Transfer Value from One Page to another Page Using Hidden Fields. I am using ASP.NET 1.1 Mkanchha
Use the following example.
-
1->If you are using Server.Transfer method then you can get it from Request.Form object by specifying the Hidden field name. 2-> You can user session variable to pass the value, set it before redirecting. 3-> Or you can pass it in query string.
Regards, Prakash Kalakoti
Thanks for Your Reply. But Still I am not getting the values. BackendCode--First Form Hidden1.Value =TxtName.Text Server.Transfer("abc.aspx") BackendCode--Second Form dim Name as string Name=Request.Form("Hidden1") Please Tell Me where I made Mistake. Mkanchha
-
Thanks for Your Reply. But Still I am not getting the values. BackendCode--First Form Hidden1.Value =TxtName.Text Server.Transfer("abc.aspx") BackendCode--Second Form dim Name as string Name=Request.Form("Hidden1") Please Tell Me where I made Mistake. Mkanchha
You should pass the value from first page to another. In ur code u are not doing that.
Sherin Iranimose