Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 13th, 2012  |  syntax: None  |  size: 0.26 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Usage of Session object in ASP.NET
  2. lblPensValue.Text = sh.pensDec((string)Session["connSTR"], 113, 23);
  3. and
  4.     if ((string)Session["connSTR"] == null)
  5.        
  6. Session["connSTR"]
  7.        
  8. (string)Session["connSTR"] // Return value from session and casting to string