If I had a nickel for everytime I got this error.... this one has had this noob guessing for a while though.
Here's my code in the Page_Load sub:
' the PopulateDropDown() method returns an ArrrayList from my DAL.
Dim alDD As ArrayList = DA.PopulateDropDown()
'populate Modules drop down list
ddlModules.DataSource = alDD
The exception is thrown on the first line, but I'm obviously stuck on why. The DA was dimmed at the form level (just below the Web Form Designer Generated Code block) so it would be in scope for all methods in that Class:
Dim DA As DAL_NurseEdMods.DataAccess
Thanks for any help!