Private Sub frmRegistration_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
cn.Open()
cmd.Connection = cn
cmd.CommandText = "Select * from Registration"
adp = New OleDb.OleDbDataAdapter(cmd)
adp.Fill(ds, "mytable")
'Binding Statements Follow
bs = New BindingSource(ds, "mytable")
'Bind the name field to first textbox, type of data as text
Me.txtCustID.DataBindings.Add("text", bs, "Customer_ID")<<<< this part gives me problem with saying "Cannot bind to the property or column Customer_ID on the DataSource.
Parameter name: dataMember" Me.txtFirstName.DataBindings.Add("text", bs, "First_Name")
Me.txtLastName.DataBindings.Add("text", bs, "Last_Name")
Me.txtDateOfBirth.DataBindings.Add("text", bs, "Date_of_Birth")
Me.txtGender.DataBindings.Add("text", bs, "Gender")
Me.txtPhoneNumber.DataBindings.Add("text", bs, "Phone_Number")
Me.txtEmail.DataBindings.Add("text", bs, "Email")
Me.txtAddress.DataBindings.Add("text", bs, "Address")
cn.Close()
End Sub
Pls pls people help me i would really appreciate this :)