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.
Protected Sub btnUpdateRoom_Click(sender As Object, e As System.EventArgs) Handles btnUpdateRoom.Click ' Variables Dim roomName As String = Trim(Server.HtmlEncode(tbRoomName.Text)) Dim roomSize As Integer = tbRoomSize.Text Dim dateStart As Date = tbStartDate.Text Dim dateEnd As Date = tbEndDate.Text Dim timeStart As DateTime = ddlStartTime.SelectedValue Dim timeEnd As DateTime = ddlEndTime.SelectedValue Dim location As String = Trim(Server.HtmlEncode(tbLocation.Text)) Dim roomNotes As String = Trim(Server.HtmlEncode(tbNotes.Text)) Try roomLogic.UpdateRoomDetails(RoomID, dateStart, dateEnd, timeStart, timeEnd, roomName, roomSize, location, roomNotes) lbUpdateStatus.Visible = True lbUpdateStatus.ForeColor = Drawing.Color.Green lbUpdateStatus.Text = "Update Successful!" Catch ex As Exception lbUpdateStatus.Visible = True lbUpdateStatus.ForeColor = Drawing.Color.Red lbUpdateStatus.Text = "WARNING: Update Failed. ERROR: " & ex.ToString End Try End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.