大家帮我看看下面这句怎么改:
 Label15.Text += "document.write('<param name=FlashVars value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');"
问题出现在"上面,不知道该怎么改。

解决方案 »

  1.   

    字符串中间的双引号前加一个\
    Label15.Text += "document.write('<param name=FlashVars value=\"pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'\">');"
      

  2.   

    不行啊,编译就出错error BC30205: 需要语句结束。
      

  3.   

    最后少了一个分号
    Label15.Text += "document.write('<param name=FlashVars value=\"pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'\">');";
      

  4.   

    Label15.Text += "document.write('<param name=FlashVars value=\"pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'\">');";
      

  5.   

    我用的是VB.NET,加了;也不对啊