码迷,mamicode.com
首页 > 其他好文 > 详细

Type 'System.Data.DataTable, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not allowed here.

时间:2021-01-25 10:44:15      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:style   strong   publickey   system   XML   tin   dataset   set   rgb   

<?xml version="1.0"?>
<configuration>
  <configSections>  
        <sectionGroup name="system.data.dataset.serialization" type="System.Data.SerializationSettingsSectionGroup, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
            <section name="allowedTypes" type="System.Data.AllowedTypesSectionHandler, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
        </sectionGroup>
    </configSections>
    <system.data.dataset.serialization>
        <allowedTypes>
            <!-- <add type="assembly qualified type name" /> -->
            <add type="System.Data.DataTable, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
            <!-- additional <add /> elements as needed -->
        </allowedTypes>
    </system.data.dataset.serialization>
</configuration>

See https://go.microsoft.com/fwlink/?linkid=2132227 for more information.

Type 'System.Data.DataTable, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not allowed here.

标签:style   strong   publickey   system   XML   tin   dataset   set   rgb   

原文地址:https://www.cnblogs.com/coder-soldier/p/14313172.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!