天天看点

'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 DataRow vsDr = null;      

继续阅读