SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 100 | Next

Joydip Kanjilal

"ASP.NET Data Presentation Controls Essentials"



Next, use this CSS class in the DataList control as
shown here.



Editing data
The DataList control can be used to edit your data, bound to this control from a data
store. This section discusses how we can edit data using this control. You can edit
data using the DataList control by providing a command-type button control in the
ItemTemplate of the DataList control. These command-type button can be one of
the following.
Button
LinkButton
ImageButton
In our example, we will be using an ImageButton control. Further, you need to
specify the OnEditCommand event and the corresponding event handler that will be
triggered whenever the user wants to edit data in the DataList control by clicking on
the ImageButton meant for editing the data.
Note that whenever the user clicks on the command button for editing
the data, the data items in the DataList control are set to editable mode
to enable the user to edit the data. This is accomplished by the use of
the EditItemTemplate. It should be noted that the EditItemTemplate is
rendered for a data item that is currently in the edit mode of operation.


Pages:
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
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6