.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old September 28th, 2007, 01:41 PM
rampalarjun rampalarjun is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 1 rampalarjun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 22 sec
Reputation Power: 0
Starting to learn C# .NET , need some help

I am write now using visual studio .NET 2005, I am a newbie in this field , trying to learn the basics of programming. While I was trying to do this program. I had a problem. Could not find the way to fix it.
I create a new empty web project , and add a text file call step1.aspx and wrote the following code into it .


<!-- StepByStep1_1.aspx -->
<%@ Page Language="C#" %>
<html><head>
<script runat="server">
double ToCelsius(double f)
{
return (5.0/9.0) *(f - 32.0);
}
</script></head>
<body>
<h2>Fahrenheit to Celsius Chart</h2>
<table border ="2">
<tr>
<th>&deg fahrenheit</th><th>&deg Celsius</th>
</tr>
<%
for(double f = 50.0; f <= 100.0; f++)
{
Response.Output.Write("<tr><td>{0}</td><td>" + "{1:f}</td><tr>", f,ToCelsius(f));
}
%>
</table>
</body>
</html>

The problem I am having is : it say the <html> validation : missing required attribute xmlns
and <head> tag title occurs too few times !

Can someone help me ?

Thanks arjun

Reply With Quote
  #2  
Old October 28th, 2007, 08:34 AM
jey jey is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 16 jey User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 54 sec
Reputation Power: 0
no idea for me....dont mistake

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > Starting to learn C# .NET , need some help


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT