Hi all,
I am newbie of .NET, I want to display images. The code like this:
<script language="VB" runat="server">
Sub page_load()
Dim fileid as String
fileid="../imgs/myimage.jpg"
end
</script>
<html><body>
<img src="<%=fileid%>" />
</body></html>
It works in ASP, but not in ASP.Net. Why? Thanks in advance.
I am newbie of .NET, I want to display images. The code like this:
<script language="VB" runat="server">
Sub page_load()
Dim fileid as String
fileid="../imgs/myimage.jpg"
end
</script>
<html><body>
<img src="<%=fileid%>" />
</body></html>
It works in ASP, but not in ASP.Net. Why? Thanks in advance.