is databinding in asp.net read-only?

Discussion in 'ASP .Net' started by neil m, Jun 27, 2003.

  1. neil m

    neil m Guest

    i have a dataAdpater and dataset, and can use databinding to set the value
    of a textbox to a field in the database.

    what about updating? what do i need to do? can asp.net/ado.net do it
    automagically? it seems to have the code built into the dataadapter to do
    the update... how do i get it to update the database if i change text in the
    textbox and hit "ok" or whatever?

    thanks

    neil m
    vancouver, canada
     
    neil m, Jun 27, 2003
    #1
    1. Advertising

  2. neil m

    neil m Guest

    yes, yes it is.

    neil, answering his own question

    "neil m" <> wrote in message
    news:MD1La.307850$...
    > i have a dataAdpater and dataset, and can use databinding to set the value
    > of a textbox to a field in the database.
    >
    > what about updating? what do i need to do? can asp.net/ado.net do it
    > automagically? it seems to have the code built into the dataadapter to do
    > the update... how do i get it to update the database if i change text in

    the
    > textbox and hit "ok" or whatever?
    >
    > thanks
    >
    > neil m
    > vancouver, canada
    >
    >
     
    neil m, Jun 27, 2003
    #2
    1. Advertising

  3. neil m

    Ries Vriend Guest

    Neil,

    > how do i get it to update the database if i change text in the
    > textbox and hit "ok" or whatever?


    You have to hand-code this, for starters see
    http://asp.net/Tutorials/quickstart.aspx. Also, there are third party
    components (such as our Table Editor at www.dvxp.com/dxtableeditor/ ;-) that
    can handle database updates transparently.

    Ries
    www.dvxp.com

    "neil m" <> wrote in message
    news:MD1La.307850$...
    > i have a dataAdpater and dataset, and can use databinding to set the value
    > of a textbox to a field in the database.
    >
    > what about updating? what do i need to do? can asp.net/ado.net do it
    > automagically? it seems to have the code built into the dataadapter to do
    > the update... how do i get it to update the database if i change text in

    the
    > textbox and hit "ok" or whatever?
    >
    > thanks
    >
    > neil m
    > vancouver, canada
    >
    >
     
    Ries Vriend, Jun 27, 2003
    #3
  4. neil m

    Jeff Louie Guest

    Jeff Louie, Jun 28, 2003
    #4
    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. vnssoftware
    Replies:
    4
    Views:
    474
    Dmitry R
    Dec 31, 2003
  2. keithb
    Replies:
    2
    Views:
    8,035
    keithb
    Jun 7, 2006
  3. Phillip Vong

    VS2005 - Run Code only in Read Only mode.

    Phillip Vong, Apr 6, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    337
    Phillip Vong
    Apr 6, 2007
  4. jobs
    Replies:
    0
    Views:
    1,673
  5. Earl Teigrob
    Replies:
    1
    Views:
    420
    Shravan
    Mar 1, 2004
Loading...

Share This Page