Hi There
Im new to all this.
Im creating a feed back form from a tutorial using this code
Imports System.Data.SqlClient
Partial Class feedback
Inherits System.Web.UI.Page
Sub doInsert(ByVal Source As Object, ByVal E As EventArgs)
Dim strConn As String = "server=YourServer;uid=sa;pwd=YourPWD;database=YourDB;"
Dim MySQL As String = "Insert into feedback (Title, Email, Feedback, dtEntered, Followup) " & _
"Values (@Title, @Email, @Feedback, @dtEntered)"
Dim MyConn As New SqlConnection(strConn)
Dim Cmd As New SqlCommand(MySQL, MyConn)
With Cmd.Parameters
.Add(New SqlParameter("@Title", frmTitle.text))
.Add(New SqlParameter("@Title", frmEmail.text))
.Add(New SqlParameter("@Feedback", frmFeedback.text))
.Add(New SqlParameter("@dtEntered" ...
Go to the complete details ...