protected void imgBtnFFull_Click(object sender, ImageClickEventArgs e)
        {
            bool bl = isCheck(GridView1);
            allSelect(GridView1, bl);
        }

        protected void imgBtnFPlay_Click(object sender, ImageClickEventArgs e)
        {

        }

        protected void allSelect(GridView gv, bool bl)
        {
            if (bl)
            {
                foreach (GridViewRow gvr in gv.Rows)
                {
                    ((CheckBox)gvr.FindControl("CheckBox1")).Checked = false;
                }
            }
            else
            {
                foreach (GridViewRow gvr in gv.Rows)
                {
                    ((CheckBox)gvr.FindControl("CheckBox1")).Checked = true;
                }
            }
        }

        protected bool isCheck(GridView gv)
        {
            //创建布尔值变量并将变量设置为False
            bool c = false;
            //遍历GridView控件
            foreach (GridViewRow gvr in gv.Rows)
            {
                //判断复选框状态是否选中
                if (((CheckBox)gvr.FindControl("CheckBox1")).Checked)
                {
                    //设置布尔值为Treu
                    c = true;
                    break;
                }
            }
            return c;
        }