阅读228 返回首页    go 阿里云 go 技术社区[云栖]


'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;
ok搞定!

最后更新:2017-04-03 12:55:46

  上一篇:go Servlet生命周期详解
  下一篇:go DEV GridControl 导出到Excel