【问题标题】:SharePoint Web Service XML - Lookup columns bringing ;#SharePoint Web 服务 XML - 查找列带来 ;#
【发布时间】:2014-04-02 11:33:06
【问题描述】:

当我使用 Lists.asmx 网络服务来显示列表数据时,生成的 xml 会返回列表查找列,其中的数据如下所示:[135;#Superman]

有没有办法摆脱 Number;# 并离开超人?

【问题讨论】:

    标签: c# asp.net xml web-services sharepoint


    【解决方案1】:

    你可以试试:

    Console.WriteLine(Regex.Match("1236;#xxl", "\d+;#(.*)").Groups[1]);

    或使用任何其他字符串操作

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-02-07
      相关资源
      最近更新 更多