Click here to Skip to main content
15,898,035 members
Please Sign up or sign in to vote.
1.25/5 (4 votes)
See more:
how to pass hidden field from one page to other page??????
Posted
Updated 26-Jun-12 23:09pm
v2

 
Share this answer
 
v2
Check this

Try this
Hidden field example

HiddenField


may be this will help you
Thank You
ChetanV
 
Share this answer
 
v3
hello ,

VB
Use the <asp:hiddenfield xmlns:asp="#unknown" />


you drag and drop the fields from the toolbar into your page.

VB
<table><tr>
                            <td>
                                <asp:HiddenField runat="server" ID="hdnRemarkID" />
                            </td>
                        </tr>
                    </table>



In Code file say .aspx.vb file you can set the value of hidden field like

VB
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
	hdnRemarkID.Value = "value"
	
	
  End Sub


I hope this will help you...


Thanks,
Nilesh Chauhan
 
Share this answer
 
I am not sure if there is a provision to pass a hidden field from one page to another. You can use either Session,QueryString,Crosspage Posting etc.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900