我在web.config中的<ConfigSection>节中加了个Section,但不知如何给它赋值,我在App_Code中建了个类文件xxx.cs,xxx.cs中有个类叫abc,怎样给<Section>节的type属性赋值,让这个<Section>可以在<Configuration>中访问?<Configuration>
<configSection>
<Section name="myProperty" type="?">
</configSection>
<myProperty key1="" key2="">
</Configuration>
<configSection>
<Section name="myProperty" type="?">
</configSection>
<myProperty key1="" key2="">
</Configuration>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货