【问题标题】:how to store string into array in c# web如何在c# web中将字符串存储到数组中
【发布时间】:2017-11-15 01:41:49
【问题描述】:
  [code="C#"]
    int counter=0;
    string filename = "Folio-Mapping-Form-" + myinvestorid.Value +".pdf";
        counter++;
        for (int i = 0; i <=counter; i++)
        {
            appendfile +=filename;
            htmlToPdfConverter.ConvertHtmlToFile(htmlString, baseUrl, 
              filePath + filename);

        }

这里我有字符串文件名,它有很多文件名,但我想将文件名存储到数组中。如何将文件名存储到数组中

【问题讨论】:

标签: c# jquery ajax c#-4.0 webmethod


【解决方案1】:

我不太明白你的问题。你能再贴一些代码吗?根据我的理解,尝试使用 string[] 或使用List&lt;string&gt; 然后调用 ToArray 方法。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-09-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-08-13
    • 2015-05-14
    相关资源
    最近更新 更多