Any Vb.net Programmers out there?

  rossgolf 16:57 31 Jan 11
Locked

i have the following code written into a program i am doing for my school project. but unfortuantely i keep coming up with the error of....

'System.Data.DataRow.Protected Friend Sub New(builder As System.Data.DataRowBuilder)' is not accessible in this context because it is 'Protected Friend'.

i have googled for hours and not been able to get anywhere near fixing it. any ideas?






rownumber = 0


dbProvider = "Provider = Microsoft.ACE.OLEDB.12.0;"
dbSource = "Data Source = G:\Users\Ross\Desktop\EXTENDED PROJECT !!!!!!\Databases\Login Details.accdb"

loginconnection.ConnectionString = dbProvider & dbSource
loginconnection.Open()

If rownumber > -1 Then
Dim sqlquerydetails = "SELECT * FROM CustomerDetails"

Dim dsinputNewRow As New DataRow



dainput = New OleDb.OleDbDataAdapter(sqlquerydetails, loginconnection)

Dim cbinput As New OleDb.OleDbCommandBuilder(dainput)


dsinputNewRow = dsinput.Tables("CustomerDetails").NewRow()

This thread is now locked and can not be replied to.

Best phone camera 2016/2017: Galaxy S7 vs iPhone 7 vs Google Pixel vs HTC 10 Evo vs OnePlus 3T vs…

1995-2015: How technology has changed the world in 20 years

Best Christmas Agency Projects of 2016

Super Mario Run preview | Hands-on first impressions of Super Mario Run: Mario's iPhone & iPad…