日期:2014-05-17  浏览次数:20581 次

获取Repeater中 修改后的textbox 绑定值
 <asp:Repeater ID="DevelopmentTarget" runat="server">
                                <HeaderTemplate>
                                    <table>
                                        <tbody>
                                </HeaderTemplate>

                                <ItemTemplate>

                                    <tr>
                                        <td>
                                            <asp:Label ID="Label1" runat="server" Text=' <%#Eval( "id")%> ' Visible="false"></asp:Label>
                                        </td>
                                        <td><%# ((DataRowView )Container.DataItem)["Name"] %>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                   <asp:TextBox ID="TextBox1" Class="EditWeight" Text='<%# ((DataRowView )Container.DataItem)["Weight"] %>'  runat="server" ReadOnly="True"></asp:TextBox>%(单位百分比)</td>
                                    </tr>

                                </ItemTemplate>

                      &n