Updating text boxes
Posted on 2006-06-06
I am working on a web-based ticket application. I have a view where a user can see help tickets he or she created. They can click on the ticket, and a new page loads with the text of the ticket so that they can edit the information. I have an update button that executes an update SQL statement to update the ticket information. The update query works just fine. The query takes an input parameter '@Description'. This parameter is bound to the text box, 'txtDescription.text'. However, when the update button is selected, and the parameters are being set, the 'txtDescription.text' value is set to the old value, not the actual values that are in the text box. Does that make sense??? How do I fix it!? Thanks.