作者:清雅竹gf_644 | 来源:互联网 | 2023-05-19 05:32
IamworkingwithQuantumGrid6fromDevexpress.Ineedtostorethegridssettingsinanxmlconfig
I am working with QuantumGrid 6 from Devexpress. I need to store the grids settings in an xml configuration file. Unfortunately, the grid does not allow XML as a storage option. I can however export the settings to a stream.
我正在使用Devexpress的QuantumGrid 6。我需要将网格设置存储在xml配置文件中。不幸的是,网格不允许XML作为存储选项。然而,我可以将设置导出到流。
I'm thinking to export to a stream then convert the stream to text and store it as an xml value. I guess the text must only contain printable characters and it would be nice if it was compressed in some way.
我想要导出到流然后将流转换为文本并将其存储为xml值。我想文本必须只包含可打印的字符,如果以某种方式压缩它会很好。
Can somebody suggest a method of encoding the stream?
有人可以建议一种编码流的方法吗?
3 个解决方案