Avatar of zachvaldez
zachvaldez
Flag for United States of America

asked on 

need to convert function to c#

I'm trying to convert this function to C# and I could not make it work

      Public Function hLink(ByVal empN As String, ByVal LName As String) As String
        Dim sEmp, sLName As String
        sEmp = Trim(empN)
        sLName = Trim(LName)
        

               hLink = "<a href=houses.aspx?bid=" & sEmp & ">" & LName & "</a>"
           
        End Select


        Return hLink
    End Function

Open in new window

C#

Avatar of undefined
Last Comment
zachvaldez

8/22/2022 - Mon