Gopinath Ganesan

Gopinath Ganesan

  • NA
  • 16
  • 23.5k

Image brokened when run this code in asp.net 2.0

Feb 8 2012 3:20 AM
  hi all,
  i can't show the picture when i run this code in asp.net 2.0, but the html code working fine in html file.. what the problem and how to recover this..

-------------------------

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication16._Default" %>

<!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>Untitled Page</title>
</head>
<body>
  <form id="form1" runat="server">
  <div>
 
  <img src="C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Winter.jpeg" alt="image loading.." />
 
  </div>
  </form>
</body>
</html>


--------------------------------------------------


with thanks,
Gopinath Ganesan


Answers (2)