就是这个:
<a href="http://community.csdn.net/Expert/topic/5322/5322762.xml?temp=.3924829">

解决方案 »

  1.   

    这个问题请高手一定要帮忙!!!!http://community.csdn.net/Expert/topic/5322/5322762.xml?temp=.3924829先谢了~~~
      

  2.   

    try:
    <script charset="gb2312" 或者utf-8与web.config中的一致
      

  3.   

    private void Page_Load(object sender, System.EventArgs e)
    {
    scmm=new Sicomm();
    hasu=new Sihansu();
    fnid=Request.Params["fnid"].ToString();
    if(!Page.IsPostBack)
    {
    if(fnid!=null)
    {
    SiUpdateCount(fnid);
    }this.SiShowCount(fnid);Response.End(); //这儿加一句.
    }}
      

  4.   

    还是不行!
    Response.Write("document.write('" + "[ 本日:"+dr["WzViewDay"].ToString()+" 本周:"+dr["WzViewWeek"].ToString()+" 本月:"+dr["WzViewMonth"].ToString()+" 总浏览数:"+dr["WzViews"].ToString()+" ] <span OnClick='window.print();' style='cursor:hand'>[打 印]</span>" + "');" );

    报缺少 ')'
    然后空白;
      

  5.   

    先用http直接访问这个文件,然后看html源码,保证是一个正常的js,然后检查错误
      

  6.   

    程序里加上输出的Encoding  为GB2312或者UTF-8
      

  7.   

    我将这句
    Response.Write("document.write('" + "[ 本日:"+dr["WzViewDay"].ToString()+" 本周:"+dr["WzViewWeek"].ToString()+" 本月:"+dr["WzViewMonth"].ToString()+" 总浏览数:"+dr["WzViews"].ToString()+" ] <span OnClick='window.print();' style='cursor:hand'>[打 印]</span>" + "');" );
    改Response.Write("alert('asfdsaf')");
    Response.End();就成功弹出一个信息框!
      

  8.   

    我这样做,行了!!!
    Response.Write("document.write('[ 本日:"+dr["WzViewDay"].ToString()+"');");
    Response.End();
      

  9.   

    看看
    Response.Write("document.write('" + "[ 本日:"+dr["WzViewDay"].ToString()+" 本周:"+dr["WzViewWeek"].ToString()+" 本月:"+dr["WzViewMonth"].ToString()+" 总浏览数:"+dr["WzViews"].ToString()+" ] <span OnClick='window.print();' style='cursor:hand'>[打 印]</span>" + "');" );这句输入在客户端是什么,检查一下有没有少'号之类的.如果都正常,可能就是编码的问题.
      

  10.   

    编码问题,你在http头加上utf8或者gb2312