Register Register Member Login Member Login Member Login Forgot Password ??
PHP Tutorial (Hypertext Preprocessor), ASP Tutorial (Active Server Pages), ASP.NET Tutorial (.Net 1.1,2.0,3.5)
   
   
  Registered : 70,422
   
 
HOME > ASP.NET > ASP.NET HTML Controls > ASP.NET HTMLInputHidden
Search

ASP.NET HTMLInputHidden

 
 
 
ASP.NET HTMLInputHidden เป็นคอนโทรลใช้ในการสร้าง Element ที่ทำการซ่อนค่าไปกับ Form

Language Code : VB.NET || C#

ASP.NET HTMLInputHidden

Framework : 1,2,3

Syntax

<input id="[Name]" type="hidden" runat="server">



HTMLInputHidden.aspx

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

     Sub Page_Load(sender As Object, e As EventArgs) 
		IF NOT Page.IsPostBack() Then
			Me.Hidden1.Value = "Welcome to www.ThaiCreate.Com"
			Me.lblText1.Text = "Version 2009"
		End IF
	 End Sub


    Sub Button1_OnClick(sender As Object, e As EventArgs)
		Me.lblText1.Text = Me.Hidden1.Value
    End Sub

</script>
<html>
<head>
</head>
<body>
    <form runat="server">
        <input id="Hidden1" type="hidden" runat="server">
        <input id="Button1" type="button" OnServerClick="Button1_OnClick"  value="Button" runat="server" />
        <hr />
        <asp:Label id="lblText1" runat="server"></asp:Label>
    </form>
</body>
</html>


Screenshot

ASP.NET HTML Form


ASP.NET HTML Form




ASP.NET WebMatrix - Control & Element

ASP.NET & Visual Studio .Net 2003 - Control & Element

ASP.NET & Visual Studio 2005,2008 - Control & Element




 

ช่วยกันสนับสนุนรักษาเว็บไซต์ความรู้แห่งนี้ไว้ด้วยการสนับสนุน Source Code 2.0 ของทีมงานไทยครีเอท

 
  By : ThaiCreate.Com Team (บทความเป็นลิขสิทธิ์ของเว็บไทยครีเอทห้ามนำเผยแพร่ ณ เว็บไซต์อื่น ๆ)
  Score Rate :  
  Create/Update Date : 2008-10-27 07:05:53 / 2009-06-02 23:41:34
  View : 1,176
  Download : Download  ASP.NET HTMLInputHidden
   
 
Sponsored Links
 
 
Ads Contact : 08-1987-6107
Download Safari
 
Ads Contact : 08-1987-6107
 Sponsored Links
ASP.NET HTML Control
Rate : View : 2,722
ASP.NET HTMLAnChor
Rate : View : 1,444
ASP.NET HTMLButton
Rate : View : 1,685
ASP.NET HTMLForm
Rate : View : 1,641
ASP.NET HTMLGeneric
Rate : View : 1,225
ASP.NET HTMLImage
Rate : View : 1,420
ASP.NET HTMLInputButton
Rate : View : 1,246
ASP.NET HTMLInputCheckBox
Rate : View : 1,254
ASP.NET HTMLInputFile
Rate : View : 1,311
ASP.NET HTMLInputImage
Rate : View : 1,234
ASP.NET HTMLInputRadioButton
Rate : View : 1,196
ASP.NET HTMLInputText
Rate : View : 1,285
ASP.NET HTMLSelect
Rate : View : 1,301
ASP.NET HTMLTable
Rate : View : 1,415
ASP.NET HTMLTableCell
Rate : View : 1,164
ASP.NET HTMLTableRow
Rate : View : 1,138
ASP.NET HTMLTextArea
Rate : View : 1,251
ASP.NET HTMLSubmit
Rate : View : 1,273
 
 
© www.ThaiCreate.Com. 2003-2009 All Rights Reserved. My network : ThaiGoodWeb.Com , DVDmono.com
Comments & Suggestions Please Contact Us : thaicreate at hotmail dot com [Conditions Privacy Statement] ติดต่อโฆษณา 01-987-6107 อัตราราคา คลิกที่นี่