Hi,
"dbuchanan" <dbuchanan52 (AT) hotmail (DOT) com> wrote
Quote:
I Got a little further...
After playing around a bit with the data layer, the references and also
reviewing other code I was able to enter the following code;
\\
Me.LkpDeviceTypeTableAdapter1.Fill(Me.DataSet11.lk pDeviceTypeDataTable) |
It shouldn't end with 'DataTable' otherwise it's a typed DataTable _class_,
what you need is a property on the Typed DataSet that returns an _instance_
..
Try:
Me.LkpDeviceTypeTableAdapter1.Fill(Me.DataSet11.lk pDeviceType)
Note that when you have made a Data Source ( Menu->Data->Show Data Sources /
Add New Data Source ) you can drag one of the DataTable's to the Form and
everything will be setup for you, you can always use it to look at the
generated code to see how things should be done.
HTH,
Geetings
Quote:
//
But it does not accept the last part...
(Me.DataSet11.lkpDeviceTypeDataTable)
There is the squiggle under it an the error says
"'lkpDeviceTypeDataTable' is a type in 'QmsDataLayer.DataSet1' and
cannot be used as an expression"
What do I do next?
dbuchanan |