未能加载类型“flower.back.control.left”。C:\Inetpub\wwwroot\ownsite\back\control\left.ascxleft.ascx的代码:
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="left.ascx.cs" Inherits="flower.back.control.left" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
left.ascx.cs的代码:
namespace flower.back.control
{
using System;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls; /// <summary>
/// left 的摘要说明。
/// </summary>
public class left : System.Web.UI.UserControl
{
protected System.Web.UI.WebControls.LinkButton LinkButton2;
protected System.Web.UI.WebControls.LinkButton LinkButton8;
protected System.Web.UI.WebControls.LinkButton LinkButton9;
protected System.Web.UI.WebControls.LinkButton LinkButton1;
protected System.Web.UI.WebControls.LinkButton LinkButton11; private 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()
{
this.LinkButton2.Click += new System.EventHandler(this.LinkButton2_Click);
this.LinkButton8.Click += new System.EventHandler(this.LinkButton8_Click);
this.LinkButton9.Click += new System.EventHandler(this.LinkButton9_Click);
this.LinkButton11.Click += new System.EventHandler(this.LinkButton11_Click);
this.LinkButton1.Click += new System.EventHandler(this.LinkButton1_Click);
this.Load += new System.EventHandler(this.Page_Load); }
#endregion private void LinkButton2_Click(object sender, System.EventArgs e)
{
Response.Redirect("/flower/back/user/viewallusers.aspx");
} private void LinkButton1_Click(object sender, System.EventArgs e)
{
Session["adminlogined"]=null;
Response.Redirect("/flower/index.aspx");
} private void LinkButton7_Click(object sender, System.EventArgs e)
{
LinkButton8.Visible=!LinkButton8.Visible;
} private void LinkButton8_Click(object sender, System.EventArgs e)
{
Response.Redirect("/flower/back/flower/viewallflower.aspx");
} private void LinkButton9_Click(object sender, System.EventArgs e)
{
Response.Redirect("/flower/back/kind/viewallkinds.aspx");
} private void LinkButton11_Click(object sender, System.EventArgs e)
{
Response.Redirect("/flower/back/order/viewallorders.aspx");
}
}
}