Displaying an Image through the HTML Image Control (VB.net) : Image Control « HTML Control « ASP.Net






Displaying an Image through the HTML Image Control (VB.net)

<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)

End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Displaying an Image through the HTMLImage Control</TITLE>
</HEAD>
<BODY>
<form runat="server">
<img
    id="Image1"
    runat="Server"
    src="http://www.java2s.com/style/download.png"
>
<BR><BR>
<img
    id="Image2"
    runat="Server"
    src="http://www.java2s.com/style/download.png"
    alt="Picture of a button."
    border="4"
>
<BR><BR>
<img
    id="Image3"
    runat="Server"
    src="http://www.java2s.com/style/download.png"
    width="300"
    height="300"
>
</form>
</BODY>
</HTML>
           
       








Related examples in the same category

1.Using the HTML Input Image Control to triger event (VB.net)
2.Retrieving Clicked Coordinates through the HTML Input Image Control (VB.net)