void btn_Del_Click(object sender, EventArgs e) { Listen li = new Listen(); if (this.RefOID != 0) { li.OID = this.RefOID; li.Delete(); } this.Response.Redirect("Listen.aspx?FK_Node=" + this.FK_Node + "&DoType=New&RefOID=0", true); }