说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。 编译器错误信息: ASPNET: 请确保此代码文件中定义的类与“inherits”属性匹配,并且该类扩展的基类(例如 Page 或 UserControl)是正确的。源错误: 行 15:     /// ST_Admin_login 的摘要说明。
行 16:     /// </summary>
行 17:     public partial class leavelogin : System.Web.UI.Page
行 18:     {
行 19:         ST_DataBase ST_database = new ST_DataBase();
 
aspx  代码如下
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="leavelogin.aspx.cs" Inherits="productpic_leavelogin" %><%@ Register Src="headtype.ascx" TagName="headtype" TagPrefix="uc2" %><%@ Register Src="head.ascx" TagName="head" TagPrefix="uc1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" style="width: 715px; height: 180px">
            <tr>
                <td align="center" style="width: 722px; height: 50px">
                    <uc1:head ID="Head1" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="center"  valign="top" style="width: 722px; height: 50px">
              <uc2:headtype ID="Headtype1" runat="server" />
                </td>
            </tr>
            <tr>
                <td align="center" style="width: 100px; height: 342px;">
                    &nbsp; &nbsp;&nbsp;
                    <div style="z-index: 101; left: 366px; background-image: url(images/1.gif); width: 286px;
                        position: absolute; top: 344px; height: 216px">
                        <br />
                        用户名:<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br />
                        <br />
                        密 &nbsp; 码:<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br />
                        <br />
                        性别:<asp:RadioButton ID="RadioButton1" runat="server" Checked="True" GroupName="sex"
                            Text="男" />
                        <asp:RadioButton ID="RadioButton2" runat="server" GroupName="sex" Text="女" /><br />
                        <br />
                        <br />
                        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="登陆" />&nbsp;
                        <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="重置" /><br />
                    </div>
                </td>
            </tr>
            <tr>
                <td align="center" style="width: 100px; height: 324px;">
                </td>
            </tr>
        </table>
        <div align="center" style="z-index: 102; left: 300px; width: 418px; position: absolute;
            top: 281px; height: 65px">
            <br />
            <br />
            <span style="font-size: 16pt; color: #ff0000; font-family: 华文彩云">本页面登陆只有客服人员有权限进入</span></div>
    
    </div>
    </form>
</body>
</html>asp.cs代码如下
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;namespace ST_GROUP.EnterpriseOnlineInfoManage
{
    /// <summary>
    /// ST_Admin_login 的摘要说明。
    /// </summary>
    public partial class leavelogin : System.Web.UI.Page
    {
        ST_DataBase ST_database = new ST_DataBase();        protected void Page_Load(object sender, System.EventArgs e)
        {
            // 在此处放置用户代码以初始化页面
        }        #region Web 窗体设计器生成的代码
        override protected void OnInit(EventArgs e)
        {
            //
            // CODEGEN: 该调用是 ASP.NET Web 窗体设计器所必需的。
            //
            InitializeComponent();
            base.OnInit(e);
        }        /// <summary>
        /// 设计器支持所需的方法 - 不要使用代码编辑器修改
        /// 此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {        }
        #endregion        protected void Button1_Click(object sender, System.EventArgs e)
        {
            string ST_strsql = "select * from ST_tUser where ST_username = '" + TextBox1.Text + "' and ST_userpassword = '" + TextBox2.Text + "' and ST_userclass = 3";
            DataTable ST_dt = new DataTable();
            ST_dt = ST_database.ReadTable(ST_strsql);
            if (ST_dt.Rows.Count > 0)
            {
                Session["admin"] = adminname.Text;
                Response.Redirect("ST_Admin_index.aspx");
            }
            else
            {
                adminpass.Text = "";
            }
        }
        protected void adminname_TextChanged(object sender, EventArgs e)
        {        }
    }
}
帮我改改,是那个问题  在线急等