archer_coal
Well-known member
- Joined
- Apr 4, 2003
- Messages
- 96
I have a project and used the oledbdataadapter wizard
then created a dataset using the Generate Dataset tool
when i "view dataset" in the Data tools all is well.
When i go to add code to the form using the dataset i get the following error
OleDbDataAdapter1.Fill(DataSet1)
Dataset1 is a type and cannot be used as a reference
also
when i try the following
Dataset1.Clear()
i get this error
Reference to a non-shared member requires and object reference
this is the first time ive used the wizard, normally i just code the sucker in there and bind it to the datagrid with no problems
what am i missing here?
then created a dataset using the Generate Dataset tool
when i "view dataset" in the Data tools all is well.
When i go to add code to the form using the dataset i get the following error
OleDbDataAdapter1.Fill(DataSet1)
Dataset1 is a type and cannot be used as a reference
also
when i try the following
Dataset1.Clear()
i get this error
Reference to a non-shared member requires and object reference
this is the first time ive used the wizard, normally i just code the sucker in there and bind it to the datagrid with no problems
what am i missing here?