主题:[讨论]图片显示问题
在imageread.aspx里面可以正常显示图片,在另一个文件里确只能显示一个图片占位符
哪里错了?
这是这个文件的代码:
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>图片显示</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID ="lblInfo" runat ="server" >Ok</asp:Label>
<img id ="imgRead" alt ="" src ="imageread.aspx" runat ="server" enableviewstate="false" />
</div>
</form>
</body>
</html>
哪里错了?
这是这个文件的代码:
<%@ Page Language="VB" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>图片显示</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID ="lblInfo" runat ="server" >Ok</asp:Label>
<img id ="imgRead" alt ="" src ="imageread.aspx" runat ="server" enableviewstate="false" />
</div>
</form>
</body>
</html>