Select the datalist control , and then in the events tab of the properties window , double-click the ItemDataBound event .
选择datalist控件,然后在“属性”窗口的“事件”选项卡中,双击itemdatabound事件。