如何获取Repeater1控件当前行数
1个回答
2014-12-22
展开全部
<asp:Button ID="btnMwssage" runat="server" Text="给TA留言" OnClick="btnMessage_Click"/>修改为 <asp:Button ID="Button1" runat="server" CommandArgument='<%#Eval("EmployeeID")%>' Text="Button"
oncommand="Button1_Command" />
protected void btnMessage_Click(object sender, EventArgs e)
修改为 protected void Button1_Command(object sender, CommandEventArgs e)
{
string employeeId = e.CommandArgument.ToString();
}
oncommand="Button1_Command" />
protected void btnMessage_Click(object sender, EventArgs e)
修改为 protected void Button1_Command(object sender, CommandEventArgs e)
{
string employeeId = e.CommandArgument.ToString();
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询