Summary

only for RuBoard

In this chapter you learned how to enable editing using the DataGrid and DataList controls. These built-in features allow users to edit, select, or delete data in a DataGrid in a very simple and logical manner, without a lot of complicated code. Specifically in this chapter you learned:

  • Enabling editing using the DataGrid and DataList

  • Changing certain items using the ItemCreated event

  • Enabling item selection using the DataGrid and DataList

We illustrated how you enter these two controls into different modes (edit vs normal), and how you handle certain events to gain programmatic access to both data and child controls found within said control. The hard part is over now; you know the basics of both these controls. Now you can take this basic knowledge, and start adding even more functionality such as rendering populated DropDownList controls within cells in edit mode for the user to select from as seen in the Tip section. The possibilities are nearly endless.

only for RuBoard


Programming Data-Driven Web Applications with ASP. NET
Programming Data-Driven Web Applications with ASP.NET
ISBN: 0672321068
EAN: 2147483647
Year: 2000
Pages: 170

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net