Ejemplo n.º 1
0
    protected void gvuserinfo_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        int uid = int.Parse(e.CommandArgument.ToString());//获取命令参数

        //执行删除
        userinfomanager.DeleteUserInfoId(uid);
        allInfo             = userinfomanager.GetAllUserInfoTB();
        anpInfo.RecordCount = allInfo.Count();
        BindUserInfo();//调用填充方法
    }