'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搞定!
目录
相关文章
|
10月前
|
数据库
Data truncation: Incorrect date value: ‘2022-11-28T16:00:00.000Z‘ for column ‘start_date‘ at row 1
Data truncation: Incorrect date value: ‘2022-11-28T16:00:00.000Z‘ for column ‘start_date‘ at row 1
173 0
‘gperf‘ is missing on your system.
‘gperf‘ is missing on your system.
149 0
|
SQL 关系型数据库 Oracle
ORA-01466: unable to read data - table definition has changed
1. Oracle建议我们等待大约5分钟之后再进行flashback query新创建的表,否则可能会碰到这个错误ORA-01466: unable to read data - table definition has changed.
1717 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.
995 0
|
Oracle 关系型数据库 Linux