ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 3rd, 2012, 09:37 AM
cwalsh cwalsh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 5 cwalsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 23 sec
Reputation Power: 0
Need help updating a website

I have been tasked with making some updates to a website built in MS SQL 2005. I have gotten most of the updates done but there is one that has got me stumped and I can't figure out how to fix it.

I have made changes to a .aspx.cs file (the html code in the file) but the revisions don't show up on the website. I made the changes directly to the file with my code editor. Is there a step that I am missing that needs to be done in order make the revisions show up on the website?

Here is the code that I changed

<td width='90'><div align='center' class='style4'>Poplar</div></td>
<td width='70'><div align='center' class='style4'>FJ Poplar</div></td>
<td width='70'><div align='center' class='style4'>MDF</div></td>
<td width='70'><div align='center' class='style4'>FJ Pine</div></td>
<td width='70'><div align='center' class='style4'>Knotty Pine</div></td>
<td width='90'><div align='center' class='style4'>Clear Pine</div></td>
<td width='70'><div align='center' class='style4'>Red Oak</div></td>

The old values from those cells still show up.

Any insight anyone can provide me would be greatly appreciated.

Thanks

Caley

Reply With Quote
  #2  
Old January 4th, 2012, 02:19 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,256 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 41 m 25 sec
Reputation Power: 4445
Try clearing your browser cache.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #3  
Old January 4th, 2012, 08:30 AM
cwalsh cwalsh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 5 cwalsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 23 sec
Reputation Power: 0
I wish that was the problem. I have tried in different browsers that haven't cached the site and that's not it.

Reply With Quote
  #4  
Old January 4th, 2012, 11:28 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,256 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 41 m 25 sec
Reputation Power: 4445
Try restarting IIS

Reply With Quote
  #5  
Old January 4th, 2012, 01:11 PM
cwalsh cwalsh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 5 cwalsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 23 sec
Reputation Power: 0
I have found a new problem, I deleted the .aspx.cs file from the server and the windows are still coming up with all of the information that I thought was supposed to be grabbed from there. I am completely lost and I'm not sure I will be able to fix this issue.

How would I restart IIS?

Thanks

Reply With Quote
  #6  
Old January 4th, 2012, 04:47 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,256 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 18 h 41 m 25 sec
Reputation Power: 4445
Quote:
How would I restart IIS?
Open Control Panel - Administrative Tools, locate the IIS control panel. You can start and stop IIS from there.

Reply With Quote
  #7  
Old January 4th, 2012, 05:17 PM
cwalsh cwalsh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 5 cwalsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 23 sec
Reputation Power: 0
I will give it a shot, thanks!

Reply With Quote
  #8  
Old January 5th, 2012, 09:16 AM
Ronster Ronster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Charlotte
Posts: 412 Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 2 h 6 m 13 sec
Reputation Power: 143
1. You're in the wrong forum. This is the CLASSIC ASP forum, you are obviously describing ASP.NET, which is the next forum down.

2. You did not edit the aspx.cs file. That is the "code behind" file, it does not contain *any* html markup. You edited the .aspx file.

3. Probably what is happening, is the control is being populated with the code behind file. It is probably not a "static" page. The code is probably pulling the values from a table somewhere and putting them into the table or something.

4. You will not even SEE .cs files on a properly created website. Those all get compiled into a DLL. Only the .aspx (html) files get copied to a website.

5. You have a lot to learn, might want to get somebody who knows what they're doing.

Reply With Quote
  #9  
Old January 5th, 2012, 09:45 AM
cwalsh cwalsh is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2012
Posts: 5 cwalsh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 23 sec
Reputation Power: 0
Thanks Ronster.

Actually I didn't originally post to this forum, it was moved here for me.

I do have a lot to learn and I never should have taken this on, but that's hindsight.

I didn't build the site so I don't know if it was done properly or not, all I know is that the page that I am trying to edit... the .aspx has this code Codebehind="ProductDetails.aspx.cs" which would make me thing that it pulls the information from that .aspx.cs.

It obviously pulls from a table and I am in the process of figuring that out, which I why I came here. If I don't figure it out, I will pass it along to someone that knows what they are doing.

Reply With Quote
  #10  
Old January 9th, 2012, 11:52 AM
Ronster Ronster is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2007
Location: Charlotte
Posts: 412 Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level)Ronster User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 2 h 6 m 13 sec
Reputation Power: 143
Quote:
Originally Posted by cwalsh
Thanks Ronster.

I didn't build the site so I don't know if it was done properly or not, all I know is that the page that I am trying to edit... the .aspx has this code Codebehind="ProductDetails.aspx.cs" which would make me thing that it pulls the information from that .aspx.cs.

It obviously pulls from a table and I am in the process of figuring that out, which I why I came here. If I don't figure it out, I will pass it along to someone that knows what they are doing.


Yes... for each .aspx file, there is a corresponding .aspx.cs file.
The .aspx file contains the html markup. All of the aspx.cs files (that is where the C# code is) gets compiled into the DLL. (look in the \BIN directory

If all you have is what is on the website, and not the original source code.... you are pretty much out of luck. You won't have any idea of how it is getting populated.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Need help updating a website

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap