阅读929 返回首页    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-04 07:36:14

  上一篇:go 带进度条的webview
  下一篇:go C# 打开指定路径下文件