here the code below(.aspx)
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Button6_Click(object sender, EventArgs e)
{
Image1.ImageUrl = "~//p1/i1.jpg";
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<br />
<br />
<asp:Image ID="Image1" runat="server" Height="200px" Width="200px" />
<asp:Button ID="Button6" runat="server" onclick="Button6_Click"
Text="Show Image" />
</div>
</form>
</body>
</html>
Actually its a sample of code to mentioning a picture in any .aspx webpage. You can call this post as a example of Image Toobox
ReplyDeleteFOR IMAGE FETCHING ITS BETTER TO USE FLASH(*.swf) FILE. IT LOOKS MUCH IMPRESSIVE
ReplyDelete