<mobile:List ID="messageList" Runat="server" OnItemDataBind="messageList_ItemDataBind">
<DeviceSpecific ID="dsMessage" Runat="server">
<Choice>
<HeaderTemplate>
<mobile:Label ID="Label1" Runat="server" Alignment="Left" BreakAfter="False">客户回复</mobile:Label>
<mobile:Label ID="Label2" Runat="server" Alignment="Right">设计回复</mobile:Label>
</HeaderTemplate>
<ItemTemplate>
<mobile:Label ID="lbMessage" Runat="server" text='<%# Eval("Message") %>'></mobile:Label>
<mobile:Label ID="lbNewMessage" Runat="server"></mobile:Label>
</ItemTemplate>
</Choice>
</DeviceSpecific>
</mobile:List>
<mobile:TextBox ID="txtMessage" Runat="server"/>
<mobile:Command ID="Command1" Runat="server" Text="回复" BreakAfter="False"></mobile:Command>
<mobile:Command ID="Command2" Runat="server" Text="取消"></mobile:Command>
目的:在messageList_ItemDataBind事件中取lbMessage的值经过处理后赋给lbNewMessage
messageList_ItemDataBind时间中参数e(EventArgs),自己写一个参数e,然后用这个传递值,然后在绑定中就可以修改了
可以写代码出来吗?