Setting the HiddenField value for ASP.NET
I have googled this but cant figure out how to set the value of my hidden field. I have the following code:
<asp:HiddenField id="fileId" runat="server" value="<%# Response.Write(Request.QueryString["fileID"]) %>" />
I am just trying to make value = value fileID
in a query string.
Thank you for your help.
+3
source to share
1 answer