Quantcast
Channel: SQL Server Reporting Services, Power View Forum
Viewing all articles
Browse latest Browse all 4035

Deleting Tablix VB .NET

$
0
0

Hi,

I am building a rdlc in VB 2012 and using Tablix.

There is 2 tablix.. and a criteria if GroupA=True the delete tablixB, else delete tablixA.

        If GroupA Then
            Dim tablixB As XmlNode = FindNode(XmlLayout, "descendant::ns:Tablix[@Name='DetailTabliB']/descendant::ns:TablixRowHierarchy/ns:TablixMembers")
            tablixB.RemoveAll()
        Else
            Dim tablixA As XmlNode = FindNode(XmlLayout, "descendant::ns:Tablix[@Name='DetailTabliA']/descendant::ns:TablixRowHierarchy/ns:TablixMembers")
            tablixA.RemoveAll()
        End If

but I encounter error when trying to delete one of the tablix...

Please help...


Viewing all articles
Browse latest Browse all 4035

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>