天天看點

'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;      

繼續閱讀