首页 > 代码库 > Repeater中服务器按钮

Repeater中服务器按钮

        protected void Button1_Click(object sender, EventArgs e)
        {
            Button btn = sender as Button;
            Response.Write(btn.CommandArgument.ToString());//前台传按钮参数过来
        }