Any Vb.net Programmers out there?

  rossgolf 16:57 31 Jan 2011
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.

Elsewhere on IDG sites

Fujitsu Lifebook P727 laptop review

Lightwell software lets you create mobile apps without using code

Best value Mac: Which is the best £1249 Mac to buy

Comment désactiver les programmes qui s'exécutent au démarrage de Windows 10 ?