hey, i'm using a datalist control to display users postings with an accept and delete button for the administrator to allow or remove a posting. I'm having trouble with code for the accept button click event to move data from one table to another while deleting from the table it is being viewed on
Then i'm having trouble with this delete button click event code. my debugger keeps saying that i have to declare the scalar variable "@ArticleID"
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim ArticleID As Integer = Convert.ToInt32(Request.QueryString("ArticleID"))
Dim myConnection As SqlConnection
myConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString)
...
Go to the complete details ...