title: how to store value of session into a variable
body: <p>Thanks a lot to all for helping me ...</p>
  
  <p>Plz some one tell me .. How to assign value of session into a variable .
     I have a session which calculates no of rows in gridview . As below</p>
  
  <p>session["cont"] = GridView1.Rows.Count ;
       Then in another function ,</p>
  
  <p>I want to store this in Variable K ;</p>