Binding Fails

Discussion in 'Databases' started by hal2010, Nov 10, 2010.

  1. Unable to bind data to the SQL Data base at

    The front page code is located at

    Here is the code behind:

    Partial Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click, company.DataBinding, position.DataBinding, first.DataBinding, last.DataBinding, DropDownList1.DataBinding, zip.DataBinding, Button1.DataBinding, phone.DataBinding, fax.DataBinding, email.DataBinding, interest.DataBinding, address.DataBinding, city.DataBinding, Button1.Load

    End Sub

    Protected Sub Button1_Command(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.CommandEventArgs) Handles Button1.Command

    End Sub

    Protected Sub Button1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Load, company.Load, position.Load, first.Load, last.Load, address.Load, city.Load, DropDownList1.Load, zip.Load, fax.Load, phone.Load, email.Load, interest.Load

    End Sub

    End Class
  2. Ray


    What do you mean unable to bind data. Are you referring to actually connecting to your database and passing it data from your form to your table? Are you getting any error messages? If you are what are they?

Share This Page