QUOTE(gabehabe @ 8 Oct, 2008 - 08:57 AM)

Still nothing.
error on line 1 at column 2: StartTag: invalid element nameSame error~ (I've tried removing all elements, too~ still nothing)
((NOTE: I changed yours where it said .vb to .cs

))
EDIT: Even just putting
<%@ %> gives the same error~
Are you really dying to code this C#? Because everytime I've changed things for the C# I just get more errors. Lol.
Error 1 'ASP.default_aspx.SupportAutoEvents': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\ae4449e3\d6ea81b4\App_Web_hnsvexyu.0.cs
Error 2 'ASP.default_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\ae4449e3\d6ea81b4\App_Web_hnsvexyu.0.cs
Error 3 'ASP.default_aspx.ProcessRequest(System.Web.HttpContext)': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\ae4449e3\d6ea81b4\App_Web_hnsvexyu.0.cs
Error 4 'ASP.default_aspx' does not implement interface member 'System.Web.IHttpHandler.IsReusable' c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\ae4449e3\d6ea81b4\App_Web_hnsvexyu.0.cs
Just for this bit of code.
CODE
<%@ Page Language="C#" AutoEventWireup="false" CodeFile="class1.cs" Inherits="_Default" %>
You can do it, but it doesn't seem like anything will be precoded for you. Be careful!
Mind I'm no longer getting errors for the bit of code but these errors are cause by it. But now there's nothing wrong with the syntax in there. The syntax is correct.
This post has been edited by MacAnimeGirl: 8 Oct, 2008 - 08:07 AM