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

Recommended Answers

All 2 Replies

To retrieve value from session
table = session("myvalue")
and if it's HTML

text = "<% session("mytable")%>"

Mark as solved

I would suggest u to give id and make the table runat server
then find the control (HTML table) in .cs page and then u can set its properties from ur .cs page

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.