J
Jason L James
Hi All,
I used the data connections wizard to automatically
create the connections, data adapters and then data
set to contain the date from my database. The typed
dataset that is created is placed in a class on its own,
however the resulting objects are created with Friend
scope in the main form.
I would like to use the data stored in these objects in
other forms I will require in my application, to hold lists
of options in combo boxes, etc.
Does anyone have any suggestions as to how I should
declare these variables, or indeed, redfine them so that
I can call them without getting a NullReference
excpetion when trying to access the dataset on another
form?
Many thanks,
Jason.
I used the data connections wizard to automatically
create the connections, data adapters and then data
set to contain the date from my database. The typed
dataset that is created is placed in a class on its own,
however the resulting objects are created with Friend
scope in the main form.
I would like to use the data stored in these objects in
other forms I will require in my application, to hold lists
of options in combo boxes, etc.
Does anyone have any suggestions as to how I should
declare these variables, or indeed, redfine them so that
I can call them without getting a NullReference
excpetion when trying to access the dataset on another
form?
Many thanks,
Jason.