how to create session object in gridview rowdatabound?

Posted by Chandru_ra under Regular Expressions on 7/28/2011 | Points: 10 | Views : 2617 | Status : [Member] | Replies : 1
Dear all,

am using in gridview rowdatabound how create session object?


Advance Thanks

chandru


Responses

Posted by: Vuyiswamb on: 7/28/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
Creating a Session will always be the same it will not change

Create
Session["MySession"] = "23";




Accees it

int MySessionVal = Convert.Toint32(Session["MySession"] );


Hope this Helps


Thank you for posting at Dotnetfunda
[Administrator]

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

Login to post response