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 gv_OnRowDeleting(ByVal sender As Object, ByVal e As GridViewDeleteEventArgs) Try Catch ex As System.Data.SqlClient.SqlException some delete code here... Would expect a reference to the standard Gridview delete process somehow... If ex.Number = 547 Then 'handle foreign key violation(547) lblMsg.Text = "Record cannot be deleted as it is being used by other tables." End If End Try End Sub
Join the community of 500,000 technology professionals and ask your questions.