现有很多ASPX文件,放在不同目录里,每个文件内均有一个如下:
<BPF:Resource ID="Resource1" runat="server" ResourceId="c4162b91-c258-4009-b9dd-98b10105c5f4" ResourceName="信息录入"></BPF:Resource>
很多个类似如下:
<BPF:PlatformButton ID="btnSaveDesignProxy" runat="server" ResourceName="保存" Text="保存" ResourceId="2facec2f-6eb4-4d9c-aba3-98b10103102f"></BPF:PlatformButton>
<BPF:PlatformButton ID="btnPrintDesignProxy" runat="server" ResourceName="打印" Text="打印" ResourceId="8eedf066-0354-419b-9665-98b101032d84" ></BPF:PlatformButton>
现在我想获取各资源的ResourceId ResourceName信息,形成一个树结构,
信息录入页的ResourceId ,ResourceName
|___保存的ResourceId ,ResourceName
|___打印的ResourceId ,ResourceName
|___...其它类似的ResourceId ,ResourceName.
寻求解决方案.