Reputation: 11
I got
System.Data.Datarow.Datarow(System.Data.Datarowbuilder)
is inaccessible due to its protection level.
while connecting to SQL-Server. What does it mean?
Upvotes: 1
Views: 454
Reputation: 55009
Difficult to say without some code, but are you doing something like new DataRow
in your code? If so then that's probably the problem, the constructor is not public
so you'd have to create your DataRow
s in some other way (for example by calling DataTable.NewRow
if you're using a DataTable
).
Upvotes: 3