类型或命名空间名称'emp_shiftsTableAdapter'不存在 [英] The type or namespace name 'emp_shiftsTableAdapter' does not exist

查看:132
本文介绍了类型或命名空间名称'emp_shiftsTableAdapter'不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Error   1   The type or namespace name 'emp_shiftsTableAdapter' does not exist in the namespace 'library.DataSet1TableAdapters' (are you missing an assembly reference?)    F:\library\library\frm_emp_shifts.Designer.cs   314 39  library

推荐答案

在frm_emp_shifts.Designer.cs文件中,将整个代码放在块中:

In the frm_emp_shifts.Designer.cs file place the entire code in the block as :
namespace library.DataSet1TableAdapters
{
  // entire code here
}


它告诉所有人。即你缺少相同的装配参考。要做到这一点,请右键单击解决方案,然后选择添加引用并提供类存储的物理路径emp_shiftsTableAdapter。
It tells all . i.e you are missing assembly reference for the same. To do this right click on solution and choose add reference and give the physical path of the class emp_shiftsTableAdapter where it got stored.


这篇关于类型或命名空间名称'emp_shiftsTableAdapter'不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆