Form field changes

Discussion in 'ASP .Net' started by momo, Apr 13, 2006.

  1. momo

    momo Guest

    Hi,

    I have a page that contain almost 70 textboxes, dropdown boxes and
    checkboxes. This page retrieves data from a table and display them in the
    appropriate control. My dilemma is when I need to make a change to any of
    the control. I want to be able to update the table fields with the ones that
    has a value. I created an update SQL statement that had all the fields but
    it bombs out when on of the controls does not have anything in it. How do I
    go about making this work.

    --


    Thanks,
     
    momo, Apr 13, 2006
    #1
    1. Advertising

  2. momo

    Jeff Dillon Guest

    Define "bombs out". Do you get a specific error message? Do these database
    fields allow nulls?

    If the user is supposed to fill all of them out, then you need to check that
    and let them know, before trying to save. This can be done either clientside
    or serverside.

    Jeff

    "momo" <> wrote in message
    news:...
    > Hi,
    >
    > I have a page that contain almost 70 textboxes, dropdown boxes and
    > checkboxes. This page retrieves data from a table and display them in the
    > appropriate control. My dilemma is when I need to make a change to any of
    > the control. I want to be able to update the table fields with the ones
    > that has a value. I created an update SQL statement that had all the
    > fields but it bombs out when on of the controls does not have anything in
    > it. How do I go about making this work.
    >
    > --
    >
    >
    > Thanks,
    >
    >
    >
     
    Jeff Dillon, Apr 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Workman

    Handling Form Field Changes - Events?

    Matthew Workman, Oct 20, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    431
    Matthew Workman
    Oct 21, 2003
  2. Me
    Replies:
    2
    Views:
    664
    Steven Cheng[MSFT]
    Feb 24, 2004
  3. NotGiven
    Replies:
    3
    Views:
    387
    Michael D. Kersey
    May 13, 2004
  4. GavMc
    Replies:
    4
    Views:
    376
    Evertjan.
    Sep 22, 2005
  5. NotGiven
    Replies:
    3
    Views:
    328
    Michael D. Kersey
    May 13, 2004
Loading...

Share This Page