日期:2014-05-18  浏览次数:20579 次

CS0246: 找不到类型或命名空间名称“BusinessLogicLayer”(是否缺少 using 指令或程序集引用?)
看看我错在哪里,鼓捣好几天了,没弄明白,显示层始终引用不上。网上搜了很多办法,删了手工输入,页面也能自动引用成功,但就是运行出错,CS0246: 找不到类型或命名空间名称“BusinessLogicLayer”(是否缺少 using 指令或程序集引用?)
怎么办啊,真晕了~~~~5555555555555

业务层:

using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using DataAccessLayer;

namespace BusinessLogicLayer
{
  /// <summary>
  ///ARTclass 文章分类
  /// </summary>
  public class ARTclass
  {
  private int _id = 0;
  private string _als_Type = string.Empty;
.....................

显示层:

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.OleDb;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogicLayer;


public partial class manage_manage_art : System.Web.UI.Page
{
  protected void Page_Load(object sender, EventArgs e)
  {
  string action = Request.QueryString["action"];
...................

------解决方案--------------------
自己终于解决了~~~好郁闷的问题~~