adding a new record to a table
I am trying to insert a new supplier to my database but I am getting an error on textbox 11. What might be the problem? Is it anything to do with properties of text box 11? Here is the code
Red text is where the problem is.
Protected Sub Button1_Click(sender As Object, e As System.EventArgs) Handles Button1.Click
Dim insertNewSupplier As New SupplierTableAdapters.SuppliersTableAdapter
insertNewSupplier.InsertSupplier(Me.TextBox1.Text, Me.TextBox2.Text, Me.TextBox3.Text, Me.TextBox4.Text, Me.TextBox5.Text,
Me.TextBox6.Text, Me.TextBox7.Text, Me.TextBox8.Text, Me.TextBox9.Text, Me.TextBox10.Text,Me.TextBox11.Text)
|