閱讀511 返回首頁    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 DEV GridControl 導出到Excel
  下一篇:go DEV GridControl 導出到Excel