<tr>
          <td width="33%" align="right" style="padding:0px 20px 0px 24px;">
            <img src=/images/welcometo.gif>
          </td>
          <td width="67%" style="font-size:15px;color:#3333CC;font-weight:bold">广东亿迅科技有限公司(广东省电信公司科学技术研究院)</td>
        </tr>
 
希望得到的结果是:
<tr><td width="33%" align="right" style="padding:0px 20px 0px 24px;"><img src=/images/welcometo.gif></td><td width="67%" style="font-size:15px;color:#3333CC;font-weight:bold">广东亿迅科技有限公司(广东省电信公司科学技术研究院)</td></tr>

解决方案 »

  1.   

    直接连接就行把。
    string str=str1+str2+...+strn;
      

  2.   

    str = str.Replace("\n", "");
      

  3.   

    using System;
    using System.Text;
    using System.IO;class App
    {
    static void Main()
    {
    String file=@"test.htm";
    StreamReader sr=File.OpenText(file);
    String input;
    StringBuilder sb=new StringBuilder();
    while((input=sr.ReadLine())!=null)
    {
    sb.Append(input);
    sb.Replace('\n',' ');
    sb.Replace('\t',' ');
    }
    Console.WriteLine(sb.ToString());

    }
    }//我按照楼上的提示,写的小例子,不知是不是楼主要求的?
      

  4.   

    http://community.csdn.net/Expert/topic/4782/4782360.xml?temp=.5073969