閱讀919 返回首頁    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 20:19:22

  上一篇:go 帶進度條的webview
  下一篇:go C# 打開指定路徑下文件