是不是这个Request.QueryString["id"].ToString();

解决方案 »

  1.   

    <%@ LANGUAGE=VBScript%> 
    <% Option Explicit 
    Response.Expires = 0  ' 定义变量和对象。 
    dim ado_stream 
    dim xml_dom 
    dim xml_file1 
    dim strFileName
    dim path
    dim strPersonID
    'path=Server.MapPath ("new.mdb");
    'strPersonID ="000001"' Request.Cookies["UserID"].Value
    strPersonID = Request("SavePath")
    ' 创建 Stream 对象 
    set ado_stream = Server.CreateObject("ADODB.Stream") 
    ' 从Request对象创建 XMLDOM对象 
    set xml_dom = Server.CreateObject("MSXML2.DOMDocument") 
    xml_dom.load(request) 
    ' 读出包含二进制数据的节点 
    set xml_file1 = xml_dom.selectSingleNode("root/file1") ' 打开Stream对象,把数据存入其中  
    ado_stream.Type = 1 ' 1=adTypeBinary  
    ado_stream.open  
    ado_stream.Write xml_file1.nodeTypedValue 
    'ado_stream.Write xml_dom.ToString() 
    ' 文件存盘 
    strFileName = "C:\\Temp\\" + strPersonID + "\\REPORT.XML" 
    'ado_stream.SaveToFile "C:\\REPORT.XML",2 ' 2=adSaveCreateOverWrite 
    ado_stream.SaveToFile strFileName,2 ' 2=adSaveCreateOverWrite  
    ado_stream.close ' 销毁对象  
    set ado_stream = Nothing  
    set xml_dom = Nothing 
    ' 向浏览器返回信息 
    'Response.Write "Upload successful!" 
    %> 
    就这段代码,我想用c#服务器端代码来实现!不知道咋写!
      

  2.   

    Stream s = Request.InputStream;
      

  3.   

    Stream s = Request.InputStream;
    ?????????????
    咋写的
      

  4.   

    string v1 = Request.Params[key1];
    string v2 = Request.Params[key2]
    ...
      

  5.   

    string v1 = Request.Params[key1];
    string v2 = Request.Params[key2]
    ...
    ??????
    key1,key3代表啥??
      

  6.   


    string v1 = Request.Params[key1];
    string v2 = Request.Params[key2]
    ...
    ??????
    key1,key3代表啥??
      

  7.   


    string v1 = Request.Params[key1];
    string v2 = Request.Params[key2]
    ...
    ??????
    key1,key3代表啥??