Dear All,
i have this code in my main form it's "auto generate" VS2010 :
i want make password to my DB access so where&what i have to put my password in the code.
BR,
i have this code in my main form it's "auto generate" VS2010 :
HTML:
Public Class Form1
Private Sub ComputerBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Me.Validate()
Me.ComputerBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.RecordsDataSet)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'RecordsDataSet.Computer' table. You can move, or remove it, as needed.
Me.ComputerTableAdapter.Fill(Me.RecordsDataSet.Computer)
'TODO: This line of code loads data into the 'RecordsDataSet.Computer' table. You can move, or remove it, as needed.
Me.ComputerTableAdapter.Fill(Me.RecordsDataSet.Computer)
End Sub
Private Sub ComputerBindingNavigatorSaveItem_Click_1(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComputerBindingNavigatorSaveItem.Click
Me.Validate()
Me.ComputerBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.RecordsDataSet)
End Sub
i want make password to my DB access so where&what i have to put my password in the code.
BR,
Last edited: