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 con As New System.Data.OleDb.OleDbConnection Dim dreader As System.Data.OleDb.OleDbDataReader Dim myCommand As New System.Data.OleDb.OleDbCommand Dim myPath As String myPath = Server.MapPath("hayat.mdb") con.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data source=" & myPath & ";" myCommand.CommandText = "select * from empdetails where empid between " & TextBox1.Text & " AND " & TextBox2.Text & " order by empid" myCommand.Connection = con Try con.Open() dreader = myCommand.ExecuteReader GridView1.DataSource = dreader GridView1.DataBind() dreader.Close() Catch ex As Exception lblerror.Text = "There is an error" + ex.ToString Finally con.Close() End Try
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.