@"
            <p class=""online""><a href=""#"" onclick=""document.getElementById('ToUserID').innerHTML=document.getElementById('MyUserID').innerHTML"" title=""管理"">正在载入..</a></p>";
请问这里用了@为什么里面的双引号怎么得用两个了呢

解决方案 »

  1.   

    你是用了visual assist X 吧
    好像这个 @' 和双引号没关系?
      

  2.   

      string TableHalfBA = @"</strong></td>
                  <td width=""4"" style=""height: 26px""><img src=""images/border_AppraiseHead_right.gif"" width=""4"" height=""26"" /></td>
                </tr>
              </table>
              <div id=""Engin_UserList"" class=""pt-control""><h3 style=""height: 38px"">在线人数:<span id=""OnlineCount"" >-</span></h3>";都有这种迹象
      

  3.   

    @的作用:忽略转义字符的作用string str = @""""; // str为"
    string str = "\""; //str为"
    string str = @"\"";  //error