Updating db with textboxes

Results 1 to 2 of 2

Thread: Updating db with textboxes

  1. #1
    Join Date
    Dec 1969

    Default Updating db with textboxes

    In my update statement I am sending values from textboxes and dropdown lists. The values from the dropdown lists are being updated correctly but the text from the textboxes are not being updated. I am getting no errors anywhere. It doesnt make any sense to me that the fields are not being updated. Do the textboxes need to be autoposting back like the dropdown lists?<BR><BR>Im sorry for being a asp.net noob and asking dumb questions. The little things like this are killing me. Thanks for your help.

  2. #2
    Join Date
    Dec 1969
    Indianapolis, IN

    Default RE: Updating db with textboxes

    What does your page_load look like? Are you setting the text boxes to blank anywhere before the update statement runs? Did you forget to check for Page.IsPostBack somewhere? Try writing out the values of the text boxes in the page_load and in places before your update.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts