No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
1 Posted Topic
Re: Protected Sub SubmitButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Using conn As New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("usersConnectionString").ConnectionString) Dim Sql As String = "INSERT INTO userlist (username,password, strEmail) VALUES (@username,@password, @strEmail)" Dim cmd As New OleDbCommand(Sql, conn) conn.Open() cmd.Parameters.AddWithValue("@username", username.Text) cmd.Parameters.AddWithValue("@password", password.Text) cmd.Parameters.AddWithValue("@strEmail", strEmail.Text) cmd.ExecuteNonQuery() conn.Close() End Using End Sub |
The End.