Hello
I'm working on little project and i stuck . I Add a row and add a record into database but when i reopen database there is no new record ..
Example
![]()
Also i want to know how i can read record from database into textbox . If you have any tutorial or help file how to work with databases for vs2012 it could be usefull ..
Thank you
I'm working on little project and i stuck . I Add a row and add a record into database but when i reopen database there is no new record ..
Example
Code:
Private Sub Btadd_Click(sender As Object, e As EventArgs) Handles btadd.Click
Dim newcolumn As accountsDataSet.accountsRow
newcolumn = AccountsDataSet.accounts.NewaccountsRow()
newcolumn.username = txtuser.Text
newcolumn.password = txtpass.Text
AccountsDataSet.accounts.Rows.Add(newcolumn)
End Sub
Also i want to know how i can read record from database into textbox . If you have any tutorial or help file how to work with databases for vs2012 it could be usefull ..
Thank you
Sorry on bad English