Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.
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.
Imports Microsoft.VisualBasic Imports System.Web.Configuration Imports System.Data.SqlClient Public Class wall Private Shared local As String = WebConfigurationManager.ConnectionStrings("wallConnectionString").ConnectionString Shared Function addpost(ByVal post As String) As String Using con As New SqlConnection(local) Dim cmd As New SqlCommand(Nothing, con) Dim username As String = "runnerjp" cmd.CommandText = "INSERT into messages (message,username,created) VALUES (@post," & username & "" & DateTime.Now.ToString("o").Substring(0, 23) & ")" cmd.Parameters.AddWithValue("@post", post) con.Open() cmd.ExecuteNonQuery() con.Close() End Using End Function End Class
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.