is databinding in asp.net read-only?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default is databinding in asp.net read-only?

    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 Guest

  2. Similar Questions and Discussions

    1. Databinding HierarchicalDataBoundControl
      I am trying to write a Hierarchical using HierarchicalDataBoundControl I have looked at both the treeview and menu but there implementations depend...
    2. databinding
      have two Dropdownlist and one which is containing States and one containing Cities. I know how to do all the little databinding task in visual...
    3. databinding after page_load
      Hi, I'm working on a webpage which starts with a rather timeconsuming database transaction. (two different .mdb's from different MSAccess versions...
    4. DataGrid Custom Column Error when DataBinding "does not contain a definition for 'DataBinding'"
      I am creating a custom column that inherits from DataColumnGrid. When I attempt Databind to a property of the custom column, I get the the error: ...
    5. File system get auto change from read-write to read-oly
      I have a very strange file system with OS Redhat 7.2 The file system is read-write, but some how it randomly changes to read-only at any time....
  3. #2

    Default Re: is databinding in asp.net read-only?

    yes, yes it is.

    neil, answering his own question

    "neil m" <nospam.macguigan@hotmail.com> wrote in message
    news:MD1La.307850$ro6.7509515@news2.calgary.shaw.c a...
    > 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 Guest

  4. #3

    Default Re: is databinding in asp.net read-only?

    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
    [url]http://asp.net/Tutorials/quickstart.aspx[/url]. Also, there are third party
    components (such as our Table Editor at [url]www.dvxp.com/dxtableeditor/[/url] ;-) that
    can handle database updates transparently.

    Ries
    [url]www.dvxp.com[/url]

    "neil m" <nospam.macguigan@hotmail.com> wrote in message
    news:MD1La.307850$ro6.7509515@news2.calgary.shaw.c a...
    > 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 Guest

  5. #4

    Default Re: is databinding in asp.net read-only?

    Neil... Working code at:

    [url]http://www.geocities.com/jeff_louie/datagrid.htm[/url]

    Binding to text boxes is more complicated:

    [url]http://www.geocities.com/jeff_louie/databindingclasses.htm[/url]

    Regards,
    Jeff
    >what about updating? what do i need to do?<
    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Jeff Louie Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139