i'll attach a little snippet:
comd = New OdbcCommand("INSERT INTO news (new_title, new_content) VALUES (@newTitle, @newContent)", conn)
comd.Parameters.Add("@newTitle", OdbcType.Text)
comd.Parameters("@newTitle").Value = newsTitle.Text
comd.Parameters.Add("@newContent", OdbcType.Text)
comd.Parameters("@newContent").Value = FCKeditor1.Value
conn.Open()
comd.ExecuteNonQuery()
Response.Redirect("default.aspx")
this code executes, and my database is updated, but the new_title and new_content fields are still NULL. i've tested by setting an error message label to the values of newsTitle.Text and comd.Parameters("@newTitle").Value, and the message label always shows the appropriate value... why aren't the values and my parameters connecting?