Session Variable is not carried to Component

jsandoval

Active member
Joined
Dec 27, 2004
Messages
28
Location
Denver
Programming Experience
10+
My Session Variable value is not being carried to my component.

Any help would be appreciated.

Thank you,
 

Attachments

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
so you're referenceing an object that's not there (in memory) you probably need to stick the 'New" keyword in the declaration of that object
 

jsandoval

Active member
Joined
Dec 27, 2004
Messages
28
Location
Denver
Programming Experience
10+
I wasn't aware you needed to declare the Session Variable object?

Dim DealerNumber As ? in the component?
 

suddenelfilio

Well-known member
Joined
Jun 3, 2004
Messages
144
Location
Belgium
Programming Experience
5-10
It isn't the session which causes the problem you need to instantiate the command there needs to be somewhere in the code protected withevents OleDBCommand1 = new OleDB.OleDbcommand()
 
Top Bottom