Hi all,
My apologies
I'm wondering if someone can help me re-code this snippet from ASP to
ASP.Net.
I'm needing help with the syntax, can't seem to get it right.

TIA
bp
canada

<%
If IsObject(Session("hris_conn")) Then
Set conn = Session("hris_conn")
Else
Set conn = Server.CreateObject("ADODB.Connection")
conn.open
"PROVIDER=SQLOLEDB;DATASOURCE=eurocom866;UID=webus er;PWD=juice;DATABASE=empl
db"
Set Session("hris_conn") = conn
End If
%>