How to retrieve session value for this.,

Posted by Jayakumars under ASP.NET on 2/23/2012 | Points: 10 | Views : 1824 | Status : [Member] [MVP] | Replies : 3
hi

I have gridview with image. Weh i click Gridview image button
i have assign session["value"]=100
then open modal popup edit and update link there here i have retrieve that
session value but here i session value comes null why
how to retrieve this
any enablesessionvalue=true? any one post this.

Mark as Answer if its helpful to you


Responses

Posted by: Gow.Net on: 2/23/2012 [Member] Starter | Points: 25

Up
0
Down

session["value"]="100"
label.text= session["value".Tostring();

gowthaman8870226416

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hmanjarawala on: 2/23/2012 [Member] Bronze | Points: 25

Up
0
Down
It should work...
if not then try Querystring..

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksamantaray on: 2/23/2012 [Member] Silver | Points: 25

Up
0
Down
It should work.
Session["value"]="100";
this.lblLabelName.Text= Session["value"].ToString();
If the problem still persists ,Can attach your here, so that we can try out a sollution.

Thanks,
Sanjay

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response