displaying session value in formview?

X

xbound

I have a session object (I.e. Session("message")) passed on from the first
web page to the second web page. In the second page I have a formview
object. For formatting reason I would like to display the session value
WITHIN the formview. All other values in the formview are drawn from
database via a sql select statement.

So far it doesn't work. Is it possible?
 
M

Mr. Arnold

xbound said:
I have a session object (I.e. Session("message")) passed on from the
first web page to the second web page. In the second page I have a
formview object. For formatting reason I would like to display the
session value WITHIN the formview. All other values in the formview
are drawn from database via a sql select statement.

So far it doesn't work. Is it possible?

ASP.NET developers use session variables all the time to populate form
controls, even passing the variable from one form to another form in a
session.

Maybe, the session variable is empty.string when you're trying to use it
to populate a control.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top