images does not view

images does not view

Page 1 of 1

8 Replies - 1253 Views - Last Post: 19 August 2009 - 07:50 PM Rate Topic: -----

#1 deleon_chesterhomer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 184
  • Joined: 08-September 07

images does not view

Posted 19 August 2009 - 06:10 PM

hello, it just happened that the images i stored in th aspx file does not view everytime i run it.. i am using microsoft visual studio 2005..:)
Is This A Good Question/Topic? 0
  • +

Replies To: images does not view

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: images does not view

Posted 19 August 2009 - 06:52 PM

You're going to have to provide more information, such as the code you're using
Was This Post Helpful? 0
  • +
  • -

#3 deleon_chesterhomer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 184
  • Joined: 08-September 07

Re: images does not view

Posted 19 August 2009 - 07:05 PM

View PostPsychoCoder, on 19 Aug, 2009 - 05:52 PM, said:

You're going to have to provide more information, such as the code you're using


this is my code

 
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Gallery.aspx.vb" Inherits="Gallery" %>

<!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>
		<div style="z-index: 101; left: 0px; width: 1015px; border-bottom: maroon thick solid;
			position: absolute; top: 0px; height: 99px; background-color: green">
			<span style="font-size: 20pt; color: #ffff66">
				<br />
				<strong>ACI&nbsp; GARDEN&nbsp; RESORT
				<br />
				ONLINE&nbsp; RESERVATION&nbsp; SYSTEM</strong></span></div>
		<div style="border-top: maroon thin solid; z-index: 102; left: 0px; width: 1016px;
			position: absolute; top: 103px; height: 77px; background-color: green">
			<br />
			&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
			<asp:Button ID="Button1" runat="server" Height="40px" PostBackUrl="~/Default.aspx"
				Style="border-right: maroon thin outset; border-top: maroon thin outset; border-left: maroon thin outset;
				border-bottom: maroon thin outset; background-color: #ffccff" Text="Home" Width="83px" />
			&nbsp; &nbsp;&nbsp;
			<asp:Button ID="Button2" runat="server" Height="40px" PostBackUrl="~/Gallery.aspx"
				Style="border-top-width: thin; border-left-width: thin; border-left-color: maroon;
				border-bottom-width: thin; border-bottom-color: maroon; border-top-color: maroon;
				background-color: #ffccff; border-right-width: thin; border-right-color: maroon"
				Text="Gallery" Width="83px" />
			&nbsp; &nbsp;&nbsp;<asp:Button ID="Button3" runat="server" Height="40px" Style="border-right: maroon thin solid;
				border-top: maroon thin solid; border-left: maroon thin solid; border-bottom: maroon thin solid;
				background-color: #ffccff" Text="Services" Width="83px" />
			&nbsp; &nbsp;
			<asp:Button ID="Button4" runat="server" Height="39px" Style="border-right: maroon thin solid;
				border-top: maroon thin solid; border-left: maroon thin solid; border-bottom: maroon thin solid;
				background-color: #ffccff" Text="About us " Width="83px" /></div>
		<div style="z-index: 103; left: 0px; width: 227px; position: absolute; top: 180px;
			height: 357px; border-right: green thin solid; border-top: green thin solid; border-left: green thin solid; border-bottom: green thin solid; background-color: green;">
			<strong><span style="font-size: 18pt; color: #ffffff">Select Images to be viewed:</span></strong><br />
			<br />
			<asp:HyperLink ID="HyperLink1" runat="server" Font-Size="16pt" ForeColor="#FF9966"
				NavigateUrl="~/Default.aspx">Cottages</asp:HyperLink><br />
			<br />
			<asp:HyperLink ID="HyperLink2" runat="server" Font-Size="16pt" ForeColor="#FF9966">Pools</asp:HyperLink><br />
			<br />
			<asp:HyperLink ID="HyperLink3" runat="server" Font-Size="16pt" ForeColor="#FF9966">Bedrooms</asp:HyperLink><br />
			<br />
			<asp:HyperLink ID="HyperLink4" runat="server" Font-Size="16pt" ForeColor="#FF9966">Function Room</asp:HyperLink><br />
			<br />
			<asp:HyperLink ID="HyperLink5" runat="server" Font-Size="16pt" ForeColor="#FF9966">Function Hall</asp:HyperLink><br />
		</div>
		<div style="z-index: 104; left: 228px; width: 1px; position: absolute; top: 351px;
			height: 1px; background-color: green">
		</div>
		<div style="z-index: 105; left: 226px; width: 735px; border-top-style: solid; border-top-color: green;
			position: absolute; top: 180px; height: 358px; background-color: green">
			<img src="App_Data/images/DSC02322.JPG" style="width: 497px; height: 300px" /></div>
	
	</div>
	</form>
</body>
</html>







Mod Edit: Please use code tags when posting your code. Code tags are used like so => :code:

Thanks,
PsychoCoder :)
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1659
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: images does not view

Posted 19 August 2009 - 07:07 PM

Don't store your images in the App_Data folder, technically that folder doesn't exist when viewing your site
Was This Post Helpful? 1
  • +
  • -

#5 deleon_chesterhomer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 184
  • Joined: 08-September 07

Re: images does not view

Posted 19 August 2009 - 07:13 PM

View PostPsychoCoder, on 19 Aug, 2009 - 06:07 PM, said:

Don't store your images in the App_Data folder, technically that folder doesn't exist when viewing your site



thanks a lot einstein hehe :)

more few things i wanna know..is it possible to make
a login sytem by using my own design and coding..
because i want to get data from mssql and not to use the asp default login.
Was This Post Helpful? 0
  • +
  • -

#6 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 421
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: images does not view

Posted 19 August 2009 - 07:18 PM

Yes you can design your own authentication system. You don't have to use the ones provided by the Framework.
Was This Post Helpful? 0
  • +
  • -

#7 deleon_chesterhomer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 184
  • Joined: 08-September 07

Re: images does not view

Posted 19 August 2009 - 07:26 PM

this is my code .. i don't know what to put in it..can u show me how to connect in a database provided by the framework.. thanks in advance

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_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>
		USERNAME
		<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
		PASSWORD &nbsp;<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
		<br />
		<br />
		<asp:Button ID="Button1" runat="server" Text="Log In" /></div>
	</form>
</body>
</html>



Was This Post Helpful? 0
  • +
  • -

#8 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 421
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: images does not view

Posted 19 August 2009 - 07:31 PM

You can find tutorials on connecting to a database here.
Was This Post Helpful? 0
  • +
  • -

#9 deleon_chesterhomer  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 184
  • Joined: 08-September 07

Re: images does not view

Posted 19 August 2009 - 07:50 PM

this is my code .. i don't know what to put in it..can u show me how to connect in a database provided by the framework.. thanks in advance
It would benefit me a lot if someone will help me or give me a better tutorial for this one ..


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_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>
		USERNAME
		<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
		PASSWORD &nbsp;<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
		<br />
		<br />
		<asp:Button ID="Button1" runat="server" Text="Log In" /></div>
	</form>
</body>
</html>


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1