'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection leve

简介: 今天声明一个DataRow如下: public DataRow vsDr = new DataRow();在使用的时候提示下面的错误:'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection level 将代码修改为: private DataRo

今天声明一个DataRow如下:

public DataRow vsDr = new DataRow();
在使用的时候提示下面的错误:

'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection level

将代码修改为:

private DataRow vsDr = null;
ok搞定!
相关文章
|
3月前
|
数据库 数据库管理
System.ArgumentException:“The specified invariant name ‘System.Data.SQLite‘ wasn‘t found in the list
System.ArgumentException:“The specified invariant name ‘System.Data.SQLite‘ wasn‘t found in the list
15 0
‘gperf‘ is missing on your system.
‘gperf‘ is missing on your system.
150 0
'gperf' is missing on your system.
'gperf' is missing on your system.
83 0
GTADIR check object exist in another system
Created by Wang, Jerry, last modified on Dec 20, 2014
87 0
GTADIR check object exist in another system
|
存储 C# 数据库
System.Data.SQLite 中GUID的处理
原文:System.Data.SQLite 中GUID的处理 项目中正好用到System.Data.SQLite,在手持上使用这个数据库,因为要做数据同步,所以表中的主键都是Guid的数据类型。
1037 0
|
存储 C++
1129 recommendation system set
Recommendation system predicts the preference that a user would give to an item.
996 0