Example #1
0
    protected void SaveDataClick(object sender, EventArgs e)
    {
        Hashtable ht = new Hashtable();

        ht["bid"]  = ViewState["zcid"].ToString();
        ht["czid"] = ViewState["czid"].ToString();
        ht["czfs"] = this.czfs.Text;
        if (this.czjg.Text != "")
        {
            ht["czjg"] = this.czjg.Text;
        }
        if (this.czss.Text != "")
        {
            ht["czss"] = this.czss.Text;
        }
        if (this.qcl.Text != "")
        {
            ht["qcl"] = this.qcl.Text;
        }
        if (this.yjfy.Text != "")
        {
            ht["yjfy"] = this.yjfy.Text;
        }
        U_ZCBU zc2 = new U_ZCBU();

        zc2.InsertBCZFS(ht);
        zc2.Close();
        //Response.Redirect("ZcBaoDetail3.aspx?id=" + ViewState["zcid"].ToString(), true);
    }