Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
TableTableAdapter.Insert(CInt(EmployeesIDTextBox.Text), FirstNameTextBox.Text, LastNameTextBox.Text, HireDate.Value.Date, CDec(SalaryTextBox.Text), FullTimeCheckBox.Checked)
TableTableAdapter.Fill(DataSet.Table)
End Sub
Tag : .NET, Ms SQL Server 2005, Ms SQL Server 2008, Ms SQL Server 2012, VS 2012 (.NET 4.x)