I want to create a very simple web page with a textbox and a button. And every time people touch the button, the message in the textbox must be sent to a database table, creating a new row with the message.
I try using SqlDataSource and the comand INSERT as:
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.SqlDataSource2.InsertCommand = "INSERT INTO Ticke(Ord, Message) VALUES (@order, @message)"
But the database table is not being updated with the information.
How can I update the database with the information?
View Complete Post