.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Session Variable Value in a table property

Posted By: Anup     Posted Date: December 07, 2009    Points:2   Category :ASP.Net
Hello,

I am storing an Image name as a value in session variable on Page 1.

Now on Page 2, I want to use this session variable value in the
<table background="Session Variable Value">

How to achieve this.


Thanx for help

"You will not be punished for your anger, you will be punished by your anger. - Gautam Buddha"

Anup

Responses
Author: Venkat             
Posted Date: December 07, 2009     Points: 5   

Hi,

It is not advisable to do so. But if you want to access the session variable you can try like this

background='<%= Session["Test"].ToString()%>'

Venkat

Mark As Answer if this solve your problem
Warm Regards,
Venkat


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend