Example #1
0
    //更新票据的信息
    protected void Button3_Click(object sender, EventArgs e)
    {
        CommTable comm1 = new CommTable("CW_ShouKuan");
        Hashtable ht    = new Hashtable();

        ht["bill"]   = this.bill.Text;
        ht["remark"] = this.remark.Text;
        List <SearchField> condition = new List <SearchField>();

        condition.Add(new SearchField("id", Request.QueryString["id"], SearchFieldType.数值型));
        comm1.EditData(condition, ht);
        comm1.Close();

        Util.alert(this.Page, "提示:更新票据信息成功!");
    }