'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搞定!
目录
相关文章
|
6月前
|
数据库 数据库管理
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
49 0
‘gperf‘ is missing on your system.
‘gperf‘ is missing on your system.
185 0
TestRange.cs error CS0104: `Range' is an ambiguous reference between `System.Range' and Gtk.Range
TestRange.cs error CS0104: `Range' is an ambiguous reference between `System.Range' and Gtk.Range
179 0
'gperf' is missing on your system.
'gperf' is missing on your system.
108 0
|
存储 C# 数据库
System.Data.SQLite 中GUID的处理
原文:System.Data.SQLite 中GUID的处理 项目中正好用到System.Data.SQLite,在手持上使用这个数据库,因为要做数据同步,所以表中的主键都是Guid的数据类型。
1066 0
|
存储 C++
1129 recommendation system set
Recommendation system predicts the preference that a user would give to an item.
1031 0
|
存储
What is the difference between page and block in operating system?
What is the difference between pages and blocks? A block is the smallest unit of data that an operating system can either write to a file or read from a file.
1112 0