DataGrid and DataList "-->
only for RuBoard |
IN THIS CHAPTER
An Overview of Editing Functions
Enabling Editing Using the DataGrid
Enabling Editing Using the DataList
Changing Output with the ItemCreated Event Using the DataGrid and DataList
Enabling Item Selection Using the DataGrid and DataList
Tip ”Using a DropDownList in a DataGrid
Summary
When you're building Web applications, sometimes you want to enable your users to change stored information. For instance, you might want to allow a user to change their user profile. Another case might be an online inventory management system in which you want to allow your sales force to update inventory numbers from remote locations via the web. This chapter will show you how to enable editing in both the DataGrid and DataList server controls in your Web applications. The first thing you'll learn is how editing works using these controls. Then you'll learn the steps you have to take to enable editing and how to save the edited items back to your database. You'll also look at how to change an item's appearance in the DataGrid and DataList based on certain criteria by using the ItemCreated event. Finally, you're going to look at how to enable item selection using the DataList and DataGrid . Specifically, we'll be going over the following:
Enabling editing using the DataGrid and DataList
Changing certain items using the ItemCreated event
Enabling item selection using the DataGrid and DataList
only for RuBoard |