前台:

<div />
        </td>
    </tr>
    </table>
    </div>

 

 

后台cs:

 protected void sureiso_Click(object sender, EventArgs e)
    {
        string tdid = Request.Cookies["tdid"].Value;
        int n = 0;
        Model.iso iso = new Model.iso();
        BLL.iso blliso = new BLL.iso();
        if (checkbox9000.Checked)
        {
            iso.stuid = 1;
            iso.isoname = iso9000.Text.ToString();
            iso.needseason = 2;
            iso.lastseason = 1;
            int result = blliso.set(iso);
            n += result;
        }
        if (checkbox14000.Checked)
        {
            iso.stuid = 1;
            iso.isoname = iso14000.Text.ToString();
            iso.needseason = 2;
            iso.lastseason = 1;
            int result = blliso.set(iso);
            n += result;
        }
        if (n == 0)
            Response.Write("<script language = javascript>alert('ISO认证投资成功!')</script>");
        else
            Response.Write("<script language = javascript>alert('对不起,ISO认证投资失败!')</script>");
        Page.ClientScript.RegisterStartupScript(this.GetType(), "", "tanchu(" + tdid + ")", true);
    }

相关文章:

  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-05-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案