Try Dim ta As New sampledbDSTableAdapters.productTableAdapter ta.Insert(TextBox1.Text, TextBox2.Text, TextBox3.Text, ComboBox1.SelectedValue) Me.DialogResult = Windows.Forms.DialogResult.OK Catch ex As Exception MsgBox(ex.Message) TextBox1.Focus() End Try
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)