We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Protected Sub ChangePasswordPushButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim username As String username = Label3.Text Dim dbcon2 As New SqlConnection("Data Source=db_server;Initial Catalog=StatementWeb;User ID=steve;Password=stephen") dbcon2.Open() Dim dbcmd2 As New SqlCommand dbcmd2.Connection = dbcon2 dbcmd2.CommandText = "update [userinfo] set [pwchange]='No' WHERE ([UserName] = @username)" Dim Value2 As String = dbcmd2.ExecuteScalar() dbcmd2.Dispose() dbcon2.Dispose() End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Trying to understand why my Index is so large||12||52|
|SQL Server 2005 running VERY slowly on new hardware||22||65|
|bulk load multiple users for aspnetusers table||2||16|
|Excel User Form - Adding to multiple worksheets using one user form||4||25|
Join the community of 500,000 technology professionals and ask your questions.