我在default.aspx中用xmlhttp的send已经传给了write.aspx.cs一个xmldoc了。现在还想传一个string的名字过去。不知道可以不。如果用xmlhttp实现不了,怎么用其他方法实现在default.aspx和write.aspx.cs之间传这个string值呢?多谢!!!
        parseFile = "write.aspx" 
        set xmldoc = createObject("MSXML.DOMDocument") 
        set xmlhttp = createObject("Microsoft.XMLHTTP") 
        xmldoc.async = false 
        xmldoc.resolveExternals = false
        '建立xml脚本节点Cell_Content保存buff.
        xmldoc.loadXML "<root></root>" 
        set roots = xmldoc.documentElement 
        set xnode = xmldoc.createNode(1,"Cell_Content","") 
        xnode.dataType = "bin.hex" 
        xnode.nodeTypedValue=buff 
        roots.appendChild(xnode)
        '使用xmlhttp的POST方法上传buff到WriteDBCell.aspx页面
        xmlhttp.open "POST",parseFile,false 
        xmlhttp.send xmldoc
   其中buff是一个二进制的内容

解决方案 »

  1.   

    xmlhttp.open "POST",parseFile,false 
    =>
    parseFile+='?key='+stringValue;
    xmlhttp.open "POST",parseFile,false 
      

  2.   

    哦~~~~~明白了。真是.....感激涕零
        那么我在接受这个值的页面以前的代码是下面这句。现在要怎么修改呢?
     System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
          xmlDoc.Load(Request.InputStream);
                stringbuff=xmlDoc.DocumentElement.SelectSingleNode"Cell_Content").InnerText;
      

  3.   

    这个不用改  用 Request.QueryString[key] 来获得