'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection leve

时间:2014-03-21 21:23:05   收藏:0   阅读:813

今天声明一个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搞定!

'System.Data.DataRow.DataRow(System.Data.DataRowBuilder)' is inaccessible due to its protection leve,布布扣,bubuko.com

原文:http://blog.csdn.net/jiankunking/article/details/21738355

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!