首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > VC >

大侠帮忙说一上语句的意思

2012-12-25 
大侠帮忙说一下语句的意思 String.Format(@ROOTPARACLASSINFOLC1111/CLASSINFOPATYPE2/PATYPE

大侠帮忙说一下语句的意思
 String.Format(@"
                            <ROOT>
                                <PARA>
                                    <CLASSINFO>LC1111</CLASSINFO>
                                    <PATYPE>2</PATYPE>
                                </PARA>
                                <DATA>
                                    <R>
                                        <CONDITION>{0}</CONDITION>
                                        <OPTYPE>1001</OPTYPE>
                                    </R>
                                </DATA>
                            </ROOT>", sql);
[解决办法]
字符串格式化,将{0},替换为 sql

热点排行