A
Adam Knight
Hi all,
I am wanting to convert the following VB statements into their C#
equivalents.
Appreciated any help!!!
'variable declaration
Dim Session As System.Web.SessionState.HttpSessionState
If Not System.Web.HttpContext.Current.Session Is Nothing Then
'retrieve session object from page
Session = System.Web.HttpContext.Current.Session
End If
Cheers,
Adam
I am wanting to convert the following VB statements into their C#
equivalents.
Appreciated any help!!!
'variable declaration
Dim Session As System.Web.SessionState.HttpSessionState
If Not System.Web.HttpContext.Current.Session Is Nothing Then
'retrieve session object from page
Session = System.Web.HttpContext.Current.Session
End If
Cheers,
Adam