
01-02-2005, 10:23 AM
|
 |
Cum Grano Salis
Retired Moderator * Guru *
|
|
Join Date: Jul 2002
Location: Baltimore, Maryland
Posts: 14,636
|
|
|
In addition, you shouldn't be assigning the datasource to a public database connection class like so. If you want to have a public connection module thats fine, but you want to assign the datasource of your comboBox to a DataTable, ArrayList, or anything that implements IList. I suggest creating a class for your dataset, and pass the dataset class object to this datasource method.
|
__________________
"Artificial Intelligence is no match for natural stupidity." ~unknown
|