Groups | Blog | Home
all groups > asp.net > june 2003 >

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


Jeff Louie
6/27/2003 4:48:43 PM
Neil... Working code at:

http://www.geocities.com/jeff_louie/datagrid.htm

Binding to text boxes is more complicated:

http://www.geocities.com/jeff_louie/databindingclasses.htm

Regards,
Jeff
[quoted text, click to view]

*** Sent via Developersdex http://www.developersdex.com ***
neil m
6/27/2003 8:17:48 PM
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
6/27/2003 9:27:57 PM
yes, yes it is.

neil, answering his own question

[quoted text, click to view]

Ries Vriend
6/28/2003 12:35:28 AM
Neil,

[quoted text, click to view]

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

[quoted text, click to view]

AddThis Social Bookmark Button