December 2002
Beginner to intermediate
432 pages
10h 10m
English
Now that we’ve laid the groundwork, we can begin discussing how data binding works in a Web Form. Remember that the form as displayed on the user’s screen is standard HTML. This means that all of the binding must be done before the HTML is emitted and transferred to the client. This is accomplished by the controls emitting their tags with the value attribute set to the value of the current row and column in the DataSet to which the control is. So you can see that the data binding can only be one-way. When the user posts the form back to the server, the data comes back in the Request.Forms (“ControlName”) format, so there is no way to support two-way binding.
Let’s create our demo project called ADOBook09-01. ...
Read now
Unlock full access