Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
Dim daWAB As New WAB_DataAccessWS.WAB_DataAccessWS daWAB.GenericQuery(Master.mainConnStr, "exec p_LogInID " & strUserID & ", '" & intManager & "'") If intManager = 1 Then Me.gvwColleagueDetails.Columns(0).Visible = True Me.lblAddColleague.Visible = True Me.ddlAddColleague.Visible = True Me.btnAdd.Visible = True Else intManager = 0 Me.gvwColleagueDetails.Columns(0).Visible = False Me.lblAddColleague.Visible = False Me.ddlAddColleague.Visible = False Me.btnAdd.Visible = False End If I have the following web service. 'Retrieve UserID from database <WebMethod()> _ Public Function LogInCollUserID(ByVal strConn As String, ByVal ColleagueuserID As String, ByVal Manager As Integer) As Integer Return WAB_DataAccess.LogInbCollUserID(strConn, ColleagueuserID, Manager) End Function 'Retrieve UserID from database Public Shared Function LogInbCollUserID(ByVal strConn As String, ByVal ColleagueuserID As String, ByVal Manager As Integer) As Integer Dim conn As SqlConnection = New SqlConnection(strConn) Dim cmd As SqlCommand = New SqlCommand("exec p_LogInID '" & ColleagueuserID & "', '" & Manager & "'", conn) Dim result As Integer = 0 conn.Open() result = cmd.ExecuteNonQuery() conn.Close() Return result End Function
Join the community of 500,000 technology professionals and ask your questions.