using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using DAL;
namespace IBLL
{
public class GetSql
{
public DataSet GetDataSet()
{
string sql = "select Category from Category";
try
{
return GetCon.GetDataSet(sql);
}
finally
{
GetCon.GetClose();
}
}
}
}
如上的代码,我要调用DAL,可编译的时候,出现找不到类型获命名空间名称“DAL”(是否缺少using指令或程序集引用?)的错误。请问该如何改正