the connection string property has not been initialized

d2005

Active member
Joined
Aug 31, 2005
Messages
37
Location
ireland
Programming Experience
Beginner
the connection string property has not been initialized
in one of my classes i have a private function, which sets connection
other public shared functions call this connection

when i try to call the public shared functions say to my form code i get that error

any one ever had that before
 
i changed it to public shared and still got the error,
i then got various errors,
i am now for the mean time just calling my connection on each webform needed,
this is a terrible way to do things i know because im going to have to chage it,

if any one has any samples of
a class with a function of connection
calling this connection when needed,
OR
a connection in web config
calling this connection when needed

thanks ever so much
 
Back
Top