I want my code to save to the data base however; it will not work.. i beleive i need to do server side code prompt on button click however, i do not know how to do that?
Protected Sub btnsaveas_Click(sender As Object, e As System.EventArgs) Handles btnsaveas.Click
Dim nameEntered = SaveAsResult.Value
'Saving Textboxes
Sqlupdate.SelectCommand = "Select * From LOCATIONS where LOCATIONID = '" & txtlocationid.Text & "'"
Dim savetxtboxes As DataView = CType(Sqlupdate.Select(DataSourceSelectArguments.Empty), DataView)
Sqlupdate.UpdateCommand = "UPDATE LOCATIONS Set LOCWNAME = '" & txtlocwname.Text & "', LOCNM = '" & txtlocnw.Text & "' where LOCATIONID = '" & txtlocationid.Text & "'"
Sqlupdate.Update()
End Sub
<asp:HiddenField ID="SaveAsResult&qu ...
Go to the complete details ...