How to show Xml data in the winform in the XML fashion?

前端 未结 3 1691
甜味超标
甜味超标 2021-02-08 10:57

My winform application communicates with the web service. For some requirement, I need to present the web service response in the XML format in the winform application.

3条回答
  •  甜味超标
    2021-02-08 11:46

    One easy way is to embed an Internet Explorer ActiveX control in the form and load the XML into it. It would be displayed with IE's default stylesheet for XML.
    Sort of like using an iframe element in a web page.

提交回复
热议问题