CS0103: 当前上下文中不存在名称“LinkmanManager”

liu234415261 2009-02-18 11:09:37
protected void delLinkman(object sender, EventArgs e)
{
string sb = String.Empty;
for (int i = 0; i < this.GridView1.Rows.Count; i++)
{
CheckBox cb = (GridView1.Rows[i].FindControl("chbSelect")) as CheckBox;
if (cb.Checked == true)
{
sb += (GridView1.Rows[i].FindControl("lblId") as Label).Text + ",";
}
}
sb = Tools.stringFormt(sb);
int bz = LinkmanManager.deleteLinkman(sb);
if (bz > 0)
{
Response.Write(" <script>alert('删除成功!') </script>");

}
else
{
Response.Write(" <script>alert('删除失败!') </script>");
}
Response.Redirect("LinkmanList.aspx");
--------------------------------我是分割线-----------------------
我的引用:
using StuCrmBLL.system;

LinkmanManager是using StuCrmBLL.system;中的一个
如果写成using StuCrmBLL.system.LinkmanManager;
则CS0234: 命名空间“StuCrmBLL.system”中不存在类型或命名空间名称“LinkmanManager”(是缺少程序集引用吗?)
崩溃 %>_ <% 能告诉我怎么解决么?谢谢
...全文
71 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
sunlazy 2011-06-01
  • 打赏
  • 举报
回复
学习了,很不错啊
liu234415261 2009-02-18
  • 打赏
  • 举报
回复
不,和那个没关系,我们在那里有个文件夹叫system
amandag 2009-02-18
  • 打赏
  • 举报
回复
StuCrmBLL.System

命名空间一般是大写的吧

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧