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

iMac Pro review

25 book design and illustration tips

iMac Pro review

Idées cadeaux pour geeks et tech addicts