利用VS开发,C#实现,图片存在在文件夹Image里,名称为图片i.jpg
界面代码如下:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ImageTest.aspx.cs" Inherits="MyExercise.ImageTest" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Image ID="Image1" runat="server" Height="200px"/>
</div>
<div>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="?n&#