Results 1 to 4 of 4

Thread: Help - When does data post - newbie

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618

    Help - When does data post - newbie

    Ok, have been doing win app programming for years, but I'm new to web programming. I'm confused on when data gets posted. I have a form with some user data that a load from a SQL Table, and I want to be able to change it and resave it. So I have, for example, a txtUsername text box, and a Submit button with a SQL Update command. I change the text of the txtUserName, and I hit submit....but when i try to load the new data into a command parameter, it still has the old data in it (for example: My name is Sean, I change it to Shaun, but in the code of my Submit button click txtUsername.Text still shows Sean). When does the data get changed? Do I have to enable AutoPostBack on my controls? Thanks.
    Last edited by SeanGrebey; Dec 3rd, 2004 at 03:51 PM.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

Posting Permissions

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



Click Here to Expand Forum to Full Width