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,492
   
 
HOME > ASP.NET > ASP.NET HTML Controls > ASP.NET HTMLImage
Search

ASP.NET HTMLImage

 
 
 
ASP.NET HTMLImage เป็นคอนโทรลใช้ในการควบคุมและสร้างรูปภาพ (Image)

Language Code : VB.NET || C#

ASP.NET HTMLImage

Framework : 1,2,3

Syntax

<img id="[Name]" runat="server">



HTMLImage.aspx

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

Sub Page_Load(sender As Object,e As EventArgs)
        Me.image1.Src="images/mygirl.jpg"
        Me.image1.Alt="My Girl"
        Me.image1.Border="1"
        Me.image1.Width="200"

        Me.image1.Attributes.Add("OnClick","JavaScript:MyGirl();")
    End Sub

</script>

<script language="JavaScript">
    function MyGirl()
    {
        alert('I Love My Girl');
    }
</script>
<html>
<head>
</head>
<body id="body1" runat="server">
    <form id="form1" runat="server">
        <img id="image1" runat="server">
    </form>
</body>
</html>


Screenshot

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:04:25 / 2009-06-02 23:39:38
  View : 1,427
  Download : Download  ASP.NET HTMLImage
   
 
Sponsored Links
 
 
Ads Contact : 08-1987-6107
Download Google Chorme
 
Ads Contact : 08-1987-6107
 Sponsored Links
ASP.NET HTML Control
Rate : View : 2,748
ASP.NET HTMLAnChor
Rate : View : 1,451
ASP.NET HTMLButton
Rate : View : 1,694
ASP.NET HTMLForm
Rate : View : 1,654
ASP.NET HTMLGeneric
Rate : View : 1,231
ASP.NET HTMLInputButton
Rate : View : 1,254
ASP.NET HTMLInputCheckBox
Rate : View : 1,261
ASP.NET HTMLInputFile
Rate : View : 1,315
ASP.NET HTMLInputHidden
Rate : View : 1,180
ASP.NET HTMLInputImage
Rate : View : 1,242
ASP.NET HTMLInputRadioButton
Rate : View : 1,199
ASP.NET HTMLInputText
Rate : View : 1,288
ASP.NET HTMLSelect
Rate : View : 1,306
ASP.NET HTMLTable
Rate : View : 1,420
ASP.NET HTMLTableCell
Rate : View : 1,167
ASP.NET HTMLTableRow
Rate : View : 1,141
ASP.NET HTMLTextArea
Rate : View : 1,254
ASP.NET HTMLSubmit
Rate : View : 1,278
 
 
© 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 อัตราราคา คลิกที่นี่