Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のソリューションには、Web サービスとウィンドウ アプリケーションとして 2 つのプロジェクトがあります。
Windowsフォームにグリッドビューがあります。Web サービスからの出力 (XML ドキュメントの形式) をグリッドビューに表示するにはどうすればよいですか?
次のコードを使用できます
DataSet xyz = new DataSet(); xyz.ReadXml("c:\whatever.xml"); gridview.DataSource = xyz.Tables[0].DefaultView; gridview.DataBind();