cjard
Well-known member
- Joined
- Apr 25, 2006
- Messages
- 7,081
- Programming Experience
- 10+
I have a DataSet, call it TmpDS
and i have a table in it called TmpTable which has a matching adapter.
I say:
but it crashes with a null pointer exception. Both references are inited to a value, so it's something else. I think I might have forgotten to set the connection object, but then.. i've always had VS create datasets and add them to my forms etc, so im not sure what other init code i've missed. Can anyone provide any pointers?
tia
and i have a table in it called TmpTable which has a matching adapter.
I say:
VB.NET:
Dim x as New TmpTableAdatper
x.Fill(TmpDS.TmpTable)
tia
Last edited by a moderator: