<asp:Repeater ID="rptUser" runat="server" onitemcommand="rptUser_ItemCommand">
<HeaderTemplate>
<table>
<tr><td colspan="3" align="center">用户信息</td></tr>
<tr>
<td align="center">用户编号</td>
<td align="center">用户姓名</td>
<td align="center">用户密码</td>
<td align="center">操作</td>
<td align="center">
<input id="checkAll" type="checkbox" onclick="SelectAllCheckBox(this)"/>
</td>
</tr>
</HeaderTemplate>
<ItemTemplate>
<tr>
<td align="center">
<asp:Label ID="Label1" runat="server" Text='<%#Eval("EmployeeCode") %>'></asp:Label></td>
<td align="center">
<asp:TextBox ID="TextBox1" runat="server" Text='<%#Eval("EmployeeName") %>' Width="100"></asp:TextBox>
</td>
<td align="center">
<asp:Label ID="Label3" runat="server" Text='<%#Eval("Password") %>'></asp:Label></td>
<td align="center">
<asp:Button ID="btnDelete" runat="server" Text="删除" CommandArgument='<%#Eval("EmployeeCode") %>' CommandName="Delete" OnClientClick="confirm('确定删除吗?')"/>
<asp:Button ID="btnEdit" runat="server" Text="编辑" CommandArgument='<%#Eval("EmployeeCode") %>' CommandName="Edit" />
</td>
<td>
<asp:CheckBox ID="chk" runat="server" /></td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</asp:Repeater>