Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim strsql As String = "Data Source=.ITSupport;" & _
"Initial Catalog=Information;Integrated Security=true"
strsql = " insert into table_1 (name, address, age ) values ('" _
& txtname.Text & "','" _
& txtaddress.Text & "','" _
& txtage.Text & "')"
Dim sqlcmd As New SqlClient.SqlCommand
sqlcmd.CommandText = strsql
MsgBox("save")
End Sub
End Class
But my data still not exist inside the db. there is no error found.. can some help me on this asap?