Ejemplo n.º 1
0
    //删除数据
    protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
        if (e.Item.FindControl("seldoc") != null)
        {
            string id = (e.Item.FindControl("seldoc") as Label).Text.Trim();

            if (e.CommandName == "delete")
            {
                U_ZCBU zc1 = new U_ZCBU();
                zc1.DelOldZC(id);
                this.BindOldZCInfo();
                zc1.Close();
            }
        }
    }