<%@ Page Language="C#" AutoEventWireup="true" validateRequest="false"%>
<html>
<head runat="server">
<title>节奏</title><script language="c#" runat="server">Response.Write("小伙子");</script>
</head><body style="font-size:12px;font-weight:bold;color:#00FF00;font-family:Arial, Helvetica, sans-serif;background-color:#000000;">
</body>
</html>

解决方案 »

  1.   

    小伙子,要这样写
    <%@ Page Language="C#" AutoEventWireup="true" validateRequest="false"%>
    <html>
    <head runat="server">
    <title>节奏</title><script language="c#" runat="server">
    private void page_load(object sender,EventArgs e){
    Response.Write("小伙子");
    }
    </script>
    </head><body style="font-size:12px;font-weight:bold;color:#00FF00;font-family:Arial, Helvetica, sans-serif;background-color:#000000;">
    </body>
    </html>
      

  2.   


    在帮我看下这代码,我试了好久还是不行
    <%@ Page Language="C#" AutoEventWireup="true" validateRequest="false"%><html>
    <head runat="server">
    <title>节奏</title><script language="c#" runat="server">private void page_load(object sender,EventArgs e){
    Response.Write(Decrypt("小姑娘"));
    }public static string Decrypt(string str)
    {
        string str2 = str_key;
        string str3 = "";
        int num5 = 0;
        if (str == "")
        {
            return "";
        }
        int length = str2.Length;
        if (length == 0)
        {
            str2 = "Think Space";
        }
        int num2 = 0;
        int num3 = Convert.ToInt32(str.Substring(0, 2), 0x10);
        int startIndex = 2;
        while (true)
        {
            try
            {
                num5 = Convert.ToInt32(str.Substring(startIndex, 2), 0x10);
            }
            catch (Exception)
            {
            }
            int num6 = num5 ^ Convert.ToInt32(str2[num2]);
            if (num6 <= num3)
            {
                num6 = (0xff + num6) - num3;
            }
            else
            {
                num6 -= num3;
            }
            str3 = str3 + Convert.ToChar(num6);
            num3 = num5;
            startIndex += 2;
            if (num2 < length)
            {
                num2++;
            }
            else
            {
                num2 = 1;
            }
            if (startIndex >= str.Length)
            {
                return str3;
            }
        }
    }</script>
    </head><body style="font-size:12px;font-weight:bold;color:#00FF00;font-family:Arial, Helvetica, sans-serif;background-color:#000000;">
    </body>
    </html>
      

  3.   

    那个Decrypt函数用private也不行...去掉static也不行...难道不能写在这里吗