Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > displaying session value in formview?

Reply
Thread Tools

displaying session value in formview?

 
 
xbound
Guest
Posts: n/a
 
      05-19-2010
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?

 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      05-19-2010
xbound wrote:
> 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Session object value not displaying .Net Sports ASP General 7 07-07-2009 04:33 PM
Session Timeout problems-web.confg session state and IIS session s =?Utf-8?B?Um9iSEs=?= ASP .Net 4 04-11-2007 04:52 PM
Re: displaying current session value requires 2nd postback Jon Paal ASP .Net 2 03-17-2006 06:47 PM
Displaying the all the name-value pairs of the session object? =?Utf-8?B?RGlmZmlkZW50?= ASP .Net 3 05-12-2005 11:54 PM
Session State - What does it take to establish one single ASP.NET session per "browser session" Jeff Smythe ASP .Net 3 01-02-2004 04:10 AM



Advertisments