Have Two Text Boxes one for "user name" and the other for "password" and also have a MS Access database with three coloums "UserIdNum" which is an auto num, "UserName" and "password" i want it so when i click one button "create user" it adds the data from the two textboxes to the two coloums "UserName and Password". At the min got it working so it adds the "User name" textbox to the "UserName Coloum" but cant find soloution for password. Heres the coding ive done:
Dim AdUsr As String
AdUsr = UsrAdd.Text
AdUsr = AdUsr.Replace("'", "''")
Dim CommandUser As New OleDbCommand("INSERT INTO UserLoginDetails(UserLogin) values(" + AdUsr + ")", CrtUsrDb)
CrtUsrDb.Open()
Dim LoginRecordsInsertUser As Integer
LoginRecordsInsertUser = CommandUser.ExecuteNonQuery()
CrtUsrDb.Close()
Thanks if you can help :D