当前位置: 代码迷 >> XML/SOAP >> 在代码窗口中右击XML,在弹出的菜单抉择View Data Grid…
  详细解决方案

在代码窗口中右击XML,在弹出的菜单抉择View Data Grid…

热度:758   发布时间:2014-02-27 01:51:53.0
在代码窗口中右击XML,在弹出的菜单选择View Data Grid……
我的操作: 
    按照书上的例程,敲出以下代码(附后)。
    按照书上的操作,在代码窗口中右击XML,在弹出的菜单选择View Data Grid,VS会以列表形式显示XML文件的数据。


我的问题:
    为什么我找不到这项菜单?如果VS2010把这项菜单取消了,那么现在该如何实现这个功能?


我的版本: 
    VS2010。


我的代码:
    

     <?xml version="1.0" encoding="utf-8"?>
<stories>

<story>
<title>A House in Chongqing</title>
<author>
<name>Sede Li Mu</name>
<nationality>Irish</nationality>
<rating>eerie</rating>
</author>
</story>

<story>
<title>The Single Man</title>
<author>
<name>Ched Dark</name>
<nationality>China</nationality>
<rating>autospectic</rating>
</author>
</story>

<story>
<title>The Turn of the Sun</title>
<author>
<name>Herry Jack</name>
<nationality>English</nationality>
<rating>a bit dull</rating>
</author>
</story>

</stories>
    



    非常感谢您的关注和帮助!谢谢!建议你在Google一下,是在不行你再看看你的书的版本,或许是太陈旧了,或许是翻译的本身就有问题呢。
祝好运!
  相关解决方案