Hi CXJ
Database programming is a quite complicated topic.
May I suggest you get a book on the subject.
Almost any book on VB.Net contains chapters on simple database stuff.
You can also buy a book like "Visual Basic. Net database programming for
dummies" by Richard Mansfield.
Look on Amazon for ".Net database"
With your particular situation try
DIM newRow As DataRow = DsInfo11.StateInfo.newRow
(Notice the extra 1 in DsInfo1)
Maybe your dataset class is called DsInfo1 and your dataset instance is
called DsInfo11
hth
Jan
"CXJ>" <Sun4life@its-raining.com> skrev i en meddelelse
news:DqSdncduJ6edZ1_cRVn-sg@comcast.com...
[quoted text, click to view] > Sorry I forgot to include the error message
>
> Additional information: Object reference not set to an instance of an
> object.
> I'm getting the above error, referencing my DIM statement below...
>
> DIM newRow As DataRow = DsInfo1.StateInfo.newRow
>
>
> "CXJ>" <Sun4life@its-raining.com> wrote in message
> news:buadnRtxH4Csal_cRVn-pQ@comcast.com...
>> Hi,
>> Does anybody know where I can find some information on Database
>> access/update/delete through VB.NET
>>
>> I'm creating a program with multiple forms, which needs to
>> select,add,delete
>> record from an ACCESS DB.
>>
>> It is my first DB project and I'm totally lost...
>>
>> Any help I would greatly appreciate it...
>>
>> Thank you,
>> CJ
>>
>>
>
>