Hi all,
I'm new at ASP.NET and working on a page that previously created with ASP to display a called image, and I'm having problem having the image display because ASP.NET doesn't allow <%%> within its code. Here is my code:
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"<html xmlns="<head><title>Striker Sample</title>
</head>
<body bgcolor="#ffffff">
<%
dim img
img = trim(request.QueryString("img"))
%>
<form runat="server">
<asp:image runat="server" ImageUrl="images/<%=img%>.jpg" />
</form>
<hr /><p align="right"><a href="#" onclick="self.close();return false;"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Close Window</font></a></p>
</body></html>
I know my code is not yet complete nor created correctly. Please help me learn more about ASP.NET.
I'm new at ASP.NET and working on a page that previously created with ASP to display a called image, and I'm having problem having the image display because ASP.NET doesn't allow <%%> within its code. Here is my code:
<?xml version="1.0"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"<html xmlns="<head><title>Striker Sample</title>
</head>
<body bgcolor="#ffffff">
<%
dim img
img = trim(request.QueryString("img"))
%>
<form runat="server">
<asp:image runat="server" ImageUrl="images/<%=img%>.jpg" />
</form>
<hr /><p align="right"><a href="#" onclick="self.close();return false;"><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Close Window</font></a></p>
</body></html>
I know my code is not yet complete nor created correctly. Please help me learn more about ASP.NET.