开发者

Can I have XML Defination in this way

开发者 https://www.devze.com 2022-12-24 11:02 出处:网络
HI Can i have a xml defination like below <add key=\"FirstName\" ServerType=\"FirstName\" Mandatory=\"Yes\" length=\"3\" DataType=\"String\"/>

HI

Can i have a xml defination like below

<add key="FirstName" ServerType="FirstName" Mandatory="Yes" length="3" DataType="String"/>

if ye开发者_如何转开发s how can i read this in my dot net c# code i use dotnet 2.0 frame work Please help me with the code


If you mean can you use such an element to your appSettings configuration section, then the answer is no. The add element can only have single key and value attributes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号