日期:2014-05-18  浏览次数:20445 次

大家好请教个问题(关于怎样使用DataList 对绑定数据的操作)
原代码如下:
<asp:DataList   ID= "datresult "   runat= "server "   Width= "636px "   OnItemCreated= "datresult_ItemCreated "   OnItemDataBound= "datresult_ItemDataBound ">
                                                <ItemTemplate>
                                                        <table>
                                                                <tr>
                                                                        <td   style= "width:   186px;   height:   17px; ">
                                                                                </td>
                                                                        <td   style= "width:   557px;   height:   17px; ">
                                                                                <asp:Label   ID= "lbltitle "   runat= "server "   Width= "533px "> <%#Eval( "CON_TITLE ")%> </asp:Label> </td>
                                                                </tr>
                                                                <tr>
                                                                        <td   style= "width:   186px;   height:   6px; ">
                                                                                </td>