是这样的我原来用datalist绑定了一个表,原代码如下:
<asp:DataList ID= "datresult " runat= "server " Width= "636px ">
<ItemTemplate>
<table>
<tr>
<td style= "width: 186px; height: 17px; ">
</td>
<td style= "width: 557px; height: 17px; ">
<asp:Label ID= "lbltitle " runat= "server " Width= "533px " ToolTip= ' <%# Eval( "CON_TITLE ") %> ' ForeColor= "Black "> <%# Eval( "CON_TITLE ") %> </asp:Label> </td>