English 中文(简体)
C# 表adapter 数据集参考
原标题:C# Tableadapter dataset reference

我有一个数据集:FileUploadDataSet.xsd

(一) 具备以下表格:

“entergraph

我开始违约。 页: 1

“entergraph

但有以下错误:

The type or namespace name FileUploadDataSetTableAdapters could not be found (are you missing a using directive or an assembly reference?)

我想用电网对数据集进行约束,然后还要作一些发言。 但是,我似乎已经摆脱了第一手装备。 我的数据集在App_Code的夹中保存。

任何让年轻的C# nOObie参加讨论的想法?

最佳回答

这或许是你在使用与真实类别名称不相符的雕像时给出的名字。

press CTRL + W,. 或视 =>

你们的桌子适应器、拖拉和跌落到密码区。 然后,它将给你以像<代码>DataSet1TableAdapters.t1TableAdapter

页: 1

没有关于你的手法数据集的问题。

Edit: if you are not see the classes generated from Dataset you may need to recreate it correctly.

问题回答

开放式数据集调器从解决方案探索者处调取,如不通过右边点击打开,则进入房地产窗口。 有两个特性,一个是名称空间,另一个是名称。 页: 1

我有同样的问题,通过增加这一法典来解决:

using test.App_Data.testDataSetTableAdapters;

:

test : the name of your project

App_Data : 夹载有您的数据库

试 测 数据:贵数据集的名称

它的工作是正确的:





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签