I have coded the following way in SENDER's Page_Load Event:
Dim compname as string
Dim countryname as string
Session(compname)=cmbcompany.SelectedValue
Session(countryname)=cmbcountry.SelectedValue
And retrieving it in RECEIVER's Page_Load Event the following way:
Dim comp, country as string
comp = Session(compname)
country = Session(countryname)
But here, am getting syntactical error that compname and countryname are not declared.
ie m not able to access the session variables in receiver's page...
Can u tell me whats d prb...
|