Posted on: 11/10/2014 5:14:12 PM | Views : 496

Hello
I am getting blue underlines under 'username', 'password', and 'strEmail'. This is the code snippet I have:
Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() LblDate.Text = ReturnDate() End Sub Protected Sub CreateUser1_Click(sender As Object, e As EventArgs) Using conn As OleDbConnection = New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("students").ConnectionString) Dim Sql As String = "INSERT INTO university (username,[password],strEmail) VALUES (@username,@password,@strEmail)" Dim cmd As New OleDbCommand(Sql, conn) conn.Open() cmd.Parameters.AddWithValue("@username", username.Text) cmd.Parameters.AddWithValue("@password", password.Text) ...

Go to the complete details ...