web 2.0

ASP.NET(vb.net) & HiddenField - asp:HiddenField

ASP.NET(vb.net) & HiddenField - asp:HiddenField - asp:HiddenField : Creates hidden field value.

ShotDev Focus:
- ASP.NET(vb.net) & HiddenField - asp:HiddenField

ASP.NET(vb.net) & HiddenField - asp:HiddenField

Tag Control :

<asp:HiddenField id="HiddenField1"
runat="server"/>

Example

HiddenField.aspx

<%@ Page Language="VB" %>
<script runat="server">

Sub Page_Load(sender As Object,e As EventArgs)
Me.HiddenField1.Value = "www.ShotDev.Com"
End Sub

Sub Button1_Click(sender As Object, e As EventArgs)
Me.lblText.Text = Me.HiddenField1.Value
End Sub

</script>
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form runat="server">
<asp:HiddenField id="HiddenField1" runat="Server"></asp:HiddenField>
<asp:Button id="Button1" onclick="Button1_Click" runat="server" Text="Button"></asp:Button>
<br>
<hr>
<asp:Label id="lblText" runat="server"></asp:Label>
</form>
</body>
</html>

Screenshot

ASP.NET(vb.net) & HiddenField - asp:HiddenField
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.