P
plonk
Hi
I'm trying to learn sql by getting a database up and running on VB.net
2008 and SQL server express.
I have the database connected correctly, (i think) but when i try to
add a record using this code..
Dim db As New racedataDataContext
Dim newmeeting As MeetingInfo = New MeetingInfo
newmeeting.Date = Today
db.MeetingInfos.add(newmeeting)
db.SubmitChanges()
i get the following error..
Error 1 'add' is not a member of 'System.Data.Linq.Table(Of
Race_Grabber.MeetingInfo)'.
I have been struggling with this for 2 days now nd cannot find a
solution. I am a noob
any help would be greatly appreciated.
I have the following namespaces declared:
Imports System.Data.Linq
Imports System.Data.Linq.Mapping
I'm trying to learn sql by getting a database up and running on VB.net
2008 and SQL server express.
I have the database connected correctly, (i think) but when i try to
add a record using this code..
Dim db As New racedataDataContext
Dim newmeeting As MeetingInfo = New MeetingInfo
newmeeting.Date = Today
db.MeetingInfos.add(newmeeting)
db.SubmitChanges()
i get the following error..
Error 1 'add' is not a member of 'System.Data.Linq.Table(Of
Race_Grabber.MeetingInfo)'.
I have been struggling with this for 2 days now nd cannot find a
solution. I am a noob
any help would be greatly appreciated.
I have the following namespaces declared:
Imports System.Data.Linq
Imports System.Data.Linq.Mapping