Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Databases Also see the forum ASP Databases for more general discussions of ASP database issues not directly related to these books.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 27th, 2003, 09:56 PM
Registered User
 
Join Date: Nov 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default APS Codes Don't Run!!!

I have tried some examples from Beginning ASP .NET Databases with C# and also some from Beginning Visual C# books, but it looks like ASP dynamic codes don't run and i can only see thost static ones.

For example, i put a label (copyright)with ID 'labelCopyright 'in .aspx file and modify the .cs Page_Load function like below.

int year = DateTime.Now.Year;
if (year == 2002)
   labelCopyright.Text = "Copyright © xxxx " + year;
else
   labelCopyright.Text = "Copyright © xxxx 2002-" + year;

Even if i replace the text with some other, in the web page, it just displays (copyright) which is label's text. So, i suppose something is wrong with my computer to run ASP codes.

Pls anyone help me asap.

Thx a lot
Regards,
Andre

 
Old December 16th, 2003, 02:42 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Can you get any asp.net code to run?

You can try this:
http://p2p.wrox.com/topic.asp?TOPIC_...net_regiis.exe

look for my post at the bottom of the topic.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically run some codes in SQL server 2005 Andraw SQL Server DTS 1 June 4th, 2008 09:40 PM
How to Run Source Codes elvisfeverr BOOK: Ivor Horton's Beginning Visual C++ 2005 2 January 22nd, 2008 11:27 AM
Active Directory and APS.net arnniema BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 February 20th, 2007 05:43 PM
Error with the APS Crystal Reports 8.5 Tron45 Crystal Reports 0 March 16th, 2006 05:09 PM
MsgBox/InputBox in APS johnhoens Classic ASP Basics 5 April 9th, 2004 04:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.