I have a Public Class “General” in which is a Public Sub “updateDynamics”. When I attempt to reference it in the code-behind for a page like so:
updateDynamics(get_prospect.dynamicsID)
I get the following error:
reference to a non-shared member requires an object reference
You either have to make the method
Sharedor use an instance of the classGeneral:or
Shared(VB.NET)