Net-informations.com

Image Control

Image control is to display any valid image supported by the requesting browser on the Web page. The path to the displayed image is specified by setting the ImageUrl property.

image-control

VB.Net

C#

You can specify the text to display in place of image when the image is not available by setting the AlternateText property.

VB.Net

C#

The following ASP.NET program load an Image from a URL and set an alternate text.

Default.aspx



Click the following links to see full source code

C# Source Code
VB.NET Source Code
default.aspx.cs
default.aspx.vb





net-informations.com (C) 2019    Founded by raps mk
All Rights Reserved. All other trademarks are property of their respective owners.
SiteMap  | Terms  | About