VS2008 DataSet.xsd 文件不能通过数据集编辑器进行编辑了,只能通过XML形式打开,而且在文件打开方式中现没有数据集编辑器这项了。
请问如何解决这个问题.

解决方案 »

  1.   

    重建一个xsd试试。我都用2010的,比较好使
      

  2.   

    重新建一个文件也不好使。就是不可能视化编辑dataset 文件
      

  3.   

    在xsd文件上右键哈,选择数据集编辑器打开。
      

  4.   

    将.vxd属性中的CustomerTool 设置为 MSDataSetGenerator
      

  5.   

    我的vs2010一添加xsd数据集文件就死机!!怎么回事!求大神解决一下
      

  6.   

    在开始菜单打开:
    Microsoft Visual Studio 2008 >> Visual Studio Tools >> Visual Studio 2008命令提示
    在窗口中输入:
     devenv /resetskippkgs  重置一下vs就可以解决问题~祝你好运~
      

  7.   

        Really quick solution (VS2005) - check the "ZOrder" attribute of the DataSets in the underlying .xss file.    I had the same problem, but only when I opened one of the XSD designers in Visual Studio. All the others worked fine.    I found out that 2 of my DataSet Shapes had the same "ZOrder" value ("2") when I opened the XSS file:-         <DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="7" ViewPortY="15" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
          <Shapes>
            <Shape ID="DesignTable:DataTable1"ZOrder="2" X="26" Y="44" Height="827" Width="258" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="823" />
            <Shape ID="DesignTable:DataTable2" ZOrder="2" X="704" Y="458" Height="130" Width="204" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
          </Shapes>
          <Connectors />
        </DiagramLayout>    I made them different (set one of them to "1", kept the other one as "2") and the DataSet was immediately editable in the designer.         Hurray!