日期:2014-05-18 浏览次数:20820 次
  string content = nei.Text.ToString();
        if (Session["id"] == null)
        {
            Response.Write("<script>alert('请点击编辑,修改后提交!')</script>");
            return;
        }
        int idd=Convert.ToInt32(Session["id"]);
        string sql = "update apply set content='"+content+"' where app_id='"+idd+"'";
        gwolf_bll.action1(sql);
        if (gwolf_bll.action1(sql))
        {
            Response.Write("<script>alert('修改成功!')</script>");
            bind();
            //Response.Redirect(Request.Url.ToString());
        }
        else
        {
            Response.Write("<script>alert('修改失败!')</script>");
        }