protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
    {
        if (e.CommandName == "shenhe")
        {
            int indexs = Convert.ToInt32(e.CommandArgument.ToString().Trim());
            int nid = Convert.ToInt32(GridView1.Rows[indexs].Cells[0].Text);
            string sql, zts;
            zts = GridView1.Rows[indexs].Cells[3].Text;
                zts = "正常";
            sql = "update tb_sysUser set ZhuangT='" + zts + "' where userid=" + nid + " ";
            try
            {
                bc.ExecSQL(sql);
                GridView1.DataBind();
            }
            catch
            {
            }
            Response.Write(bc.MessageBox("修改成功!"));           if (e.CommandName == "dongjie")
            {
                int indexs2 = Convert.ToInt32(e.CommandArgument.ToString().Trim());
                int nid2 = Convert.ToInt32(GridView1.Rows[indexs2].Cells[0].Text);
                string sql2, zts2;
                zts2 = GridView1.Rows[indexs].Cells[3].Text;
                zts2 = "冻结";
                sql2 = "update tb_sysUser set ZhuangT='" + zts2 + "' where userid=" + nid2 + " ";
                try
                {
                    bc.ExecSQL(sql2);
                    GridView1.DataBind();
                }
                catch
                {
                }
                Response.Write(bc.MessageBox("修改成功!"));
            }
        }
    }