I'm having problems accessing some column properties in a DataTable.
Specifically I want to know if the column is computed, so I'm trying to access the Column.Computed setting.
It's visible in the local variable inspector, however when accessed in code I get Property is not accessible in this context because it is Friend.
Code snippit below.
Lots of Googling around brings up information on Friends only being visible in the same assembly (which I already knew), so I'm assuming that the System.Data library is being treated as a different assembly.
Anyone any hints on how to overcome this, or have microsoft given us visibility of parameters that we can't actually use?
Using oDS As New DataSet
Using oCommand As New SqlCommand("SELECT * FROM tblTasks WHERE TaskID=" & nTaskID, oSQLConn)
Using oAdapter As New SqlDataAdapter
oAdapter.SelectCommand = oCommand